Re: [PATCH] Fix double-linking of drivers/usb/otg when ULPI is selected

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

 



On Fri, 2009-12-18 at 09:57 -0600, Bill Gatliff wrote:
> This patch corrects a problem where drivers/usb/otg is linked twice
> if CONFIG_USB_ULPI is selected, resulting in a build error (symbol
> conflict). The files in that directory are properly linked already
> as part of CONFIG_USB, and need not be indicated specifically for
> CONFIG_USB_ULPI.
> 
> Signed-off-by: Bill Gatliff <bgat@xxxxxxxxxxxxxxx>

Acked-by: Felipe Balbi <felipe.balbi@xxxxxxxxx>

drivers/usb/otg is linked when CONFIG_USB_OTG_UTILS is set.

> ---
>  drivers/usb/Makefile |    2 --
>  1 files changed, 0 insertions(+), 2 deletions(-)
> 
> diff --git a/drivers/usb/Makefile b/drivers/usb/Makefile
> index 473aa1a..be3c9b8 100644
> --- a/drivers/usb/Makefile
> +++ b/drivers/usb/Makefile
> @@ -44,5 +44,3 @@ obj-y				+= early/
>  
>  obj-$(CONFIG_USB_ATM)		+= atm/
>  obj-$(CONFIG_USB_SPEEDTOUCH)	+= atm/
> -
> -obj-$(CONFIG_USB_ULPI)		+= otg/

-- 
balbi

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

[Index of Archives]     [Linux Arm (vger)]     [ARM Kernel]     [ARM MSM]     [Linux Tegra]     [Linux WPAN Networking]     [Linux Wireless Networking]     [Maemo Users]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite Trails]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux