forked from Minki/linux
9610450ea3
When CONFIG_USB is not set, and CONFIG_USB_GADGET is set, there is an issue: ld: drivers/usb/mtu3/mtu3_debugfs.o: in function 'ssusb_debugfs_create_root': mtu3_debugfs.c:(.text+0xba3): undefined reference to 'usb_debug_root' usb_debug_root is only built when CONFIG_USB is enabled, so here drop it and use NULL instead. Reported-by: Randy Dunlap <rdunlap@infradead.org> Signed-off-by: Chunfeng Yun <chunfeng.yun@mediatek.com> Acked-by: Randy Dunlap <rdunlap@infradead.org> # build-tested Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org> |
||
---|---|---|
.. | ||
Kconfig | ||
Makefile | ||
mtu3_core.c | ||
mtu3_debug.h | ||
mtu3_debugfs.c | ||
mtu3_dr.c | ||
mtu3_dr.h | ||
mtu3_gadget_ep0.c | ||
mtu3_gadget.c | ||
mtu3_host.c | ||
mtu3_hw_regs.h | ||
mtu3_plat.c | ||
mtu3_qmu.c | ||
mtu3_qmu.h | ||
mtu3_trace.c | ||
mtu3_trace.h | ||
mtu3.h |