OpenCloudOS-Kernel/drivers/usb/mtu3
Lee Jones 56976249bd usb: mtu3: mtu3_trace: Supply missing mtu3_debug.h include file
If the header file containing a function's prototype isn't included by
the sourcefile containing the associated function, the build system
complains of missing prototypes.

Fixes the following W=1 kernel build warning(s):

 drivers/usb/mtu3/mtu3_trace.c:13:6: warning: no previous prototype for ‘mtu3_dbg_trace’ [-Wmissing-prototypes]
 13 | void mtu3_dbg_trace(struct device *dev, const char *fmt, ...)
 | ^~~~~~~~~~~~~~

Cc: Chunfeng Yun <chunfeng.yun@mediatek.com>
Cc: linux-arm-kernel@lists.infradead.org
Cc: linux-mediatek@lists.infradead.org
Signed-off-by: Lee Jones <lee.jones@linaro.org>
Link: https://lore.kernel.org/r/20200715093209.3165641-5-lee.jones@linaro.org
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2020-07-15 17:25:57 +02:00
..
Kconfig usb: mtu3: register a USB Role Switch for dual role mode 2019-09-03 20:02:15 +02:00
Makefile usb: mtu3: add tracepoints to help debug 2019-03-26 16:40:14 +09:00
mtu3.h USB: mtu3: Use the correct style for SPDX License Identifier 2020-04-16 14:32:48 +02:00
mtu3_core.c usb: mtu3: mtu3_core: Demote obvious misuse of kerneldoc to standard comment block 2020-07-03 10:18:40 +02:00
mtu3_debug.h usb: mtu3: mtu3_debug: Add forward declaration of 'struct ssusb_mtk' 2020-07-09 16:46:57 +02:00
mtu3_debugfs.c usb: mtu3: constify struct debugfs_reg32 2020-05-14 12:42:53 +03:00
mtu3_dr.c usb: roles: Provide the switch drivers handle to the switch in the API 2020-03-04 11:12:50 +01:00
mtu3_dr.h USB: mtu3: Use the correct style for SPDX License Identifier 2020-04-16 14:32:48 +02:00
mtu3_gadget.c usb: mtu3: add tracepoints to help debug 2019-03-26 16:40:14 +09:00
mtu3_gadget_ep0.c USB: ch9: add "USB_" prefix in front of TEST defines 2020-06-24 15:01:24 +02:00
mtu3_host.c usb: mtu3: fix semicolon.cocci warnings 2018-01-16 10:01:01 +01:00
mtu3_hw_regs.h USB: mtu3: Use the correct style for SPDX License Identifier 2020-04-16 14:32:48 +02:00
mtu3_plat.c usb: mtu3: register a USB Role Switch for dual role mode 2019-09-03 20:02:15 +02:00
mtu3_qmu.c usb: mtu3: add tracepoints to help debug 2019-03-26 16:40:14 +09:00
mtu3_qmu.h USB: mtu3: Use the correct style for SPDX License Identifier 2020-04-16 14:32:48 +02:00
mtu3_trace.c usb: mtu3: mtu3_trace: Supply missing mtu3_debug.h include file 2020-07-15 17:25:57 +02:00
mtu3_trace.h USB: mtu3: Use the correct style for SPDX License Identifier 2020-04-16 14:32:48 +02:00