Re: [PATCH] usb: Kconfig: make USB_ULPI_BUS select USB_COMMON

From: Peter Chen
Date: Mon Sep 12 2016 - 21:49:10 EST


On Mon, Sep 12, 2016 at 05:36:23PM +0200, Arnd Bergmann wrote:
> Moving the CONFIG_USB_ULPI_BUS option to the top-level Kconfig file
> means that we can enable it without any of the other USB support,
> leading to a build error because Kbuild never enters the
> drivers/usb/common/ directory without CONFIG_USB_COMMON:
>
> ERROR: "ulpi_unregister_driver" [drivers/phy/phy-tusb1210.ko] undefined!
> ERROR: "__ulpi_register_driver" [drivers/phy/phy-tusb1210.ko] undefined!
> ERROR: "ulpi_write" [drivers/phy/phy-tusb1210.ko] undefined!
>

Thanks, Arnd. I have submitted the fix.

https://git.kernel.org/cgit/linux/kernel/git/gregkh/usb.git/commit/?h=usb-next&id=6406c3d226374c28d452b11db3b5ac241ce26191

--

Best Regards,
Peter Chen