Re: [PATCH 1/1] usb: Kconfig: let USB_ULPI_BUS depends on USB_COMMON

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Mon, Sep 12, 2016 at 04:14:02PM +0800, Peter Chen wrote:
> Since ulpi bus driver is located at usb/common/ulpi.c, whether it
> is compiled or not depends on CONFIG_USB_COMMON which needs either
> USB Host or USB Gadget is enabled, so even CONFIG_USB_ULPI_BUS is
> chosen, its source may still not be compiled when both USB HOST
> and USB gadget are disabled.
> 
> It fixed compile error with below configurations:
> - # CONFIG_USB is not set
> - # CONFIG_USB_GADGET is not set
> - CONFIG_PHY_TUSB1210=m
> - CONFIG_USB_ULPI_BUS=m
> 
> >> All errors (new ones prefixed by >>):
> >>
> >> 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!
> 
> Fixes: ad764c49f65a ("usb: Kconfig: move ulpi bus support out of host")
> Cc: Fengguang Wu <fengguang.wu@xxxxxxxxx>
> Signed-off-by: Peter Chen <peter.chen@xxxxxxx>

You forgot a "Reported-by:" tag here.

Please fix and resend.

thanks,

greg k-h
--
To unsubscribe from this list: send the line "unsubscribe linux-usb" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[Index of Archives]     [Linux Media]     [Linux Input]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [Old Linux USB Devel Archive]

  Powered by Linux