summaryrefslogtreecommitdiffstats
path: root/drivers/media/usb/siano/smsusb.c
diff options
context:
space:
mode:
authorChunfeng Yun <chunfeng.yun@mediatek.com>2019-05-05 08:02:49 +0200
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2019-05-21 10:08:56 +0200
commit9610450ea31eb061b9914de2bf6ced424956182d (patch)
treea25da340bb7a3c28fe46264683c9913d45eba51b /drivers/media/usb/siano/smsusb.c
parentUSB: Fix slab-out-of-bounds write in usb_get_bos_descriptor (diff)
downloadlinux-9610450ea31eb061b9914de2bf6ced424956182d.tar.xz
linux-9610450ea31eb061b9914de2bf6ced424956182d.zip
usb: mtu3: fix up undefined reference to usb_debug_root
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>
Diffstat (limited to '')
0 files changed, 0 insertions, 0 deletions