Re: linux-next: Tree for May 2 (drivers/usb/mtu3/mtu3_debugfs.o)

From: Chunfeng Yun
Date: Sat May 04 2019 - 23:22:05 EST


Hi Randy,
On Thu, 2019-05-02 at 08:17 -0700, Randy Dunlap wrote:
> On 5/2/19 3:10 AM, Stephen Rothwell wrote:
> > Hi all,
> >
> > Changes since 20190501:
> >
>
> on i386:
>
> ld: drivers/usb/mtu3/mtu3_debugfs.o: in function `ssusb_debugfs_create_root':
> mtu3_debugfs.c:(.text+0xba3): undefined reference to `usb_debug_root'
>
> CONFIG_USB_SUPPORT=y
> CONFIG_USB_COMMON=y
> CONFIG_USB_ARCH_HAS_HCD=y
> # CONFIG_USB is not set <<<<< no host-side USB
> # CONFIG_USB_PCI is not set
> CONFIG_USB_MTU3=y
> CONFIG_USB_MTU3_GADGET=y <<<<< gadget-only mode
> # CONFIG_USB_MTU3_DEBUG is not set
> CONFIG_USB_MUSB_HDRC=m
> CONFIG_USB_MUSB_GADGET=y
>
> usb_debug_root is in drivers/usb/core/usb.c, which is only built
> when CONFIG_USB is set/enabled.
>
I'll fix it ASAP.

Thanks a lot

>
>
> Full randconfig file is attached.
>