Re: [PATCH 1/1] USB: OHCI: Fix definition overriding while registering Exynos OHCI driver

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

 



On Mon, 7 Jan 2013, Sachin Kamat wrote:

> Exynos OHCI driver does not get registered if generic OHCI driver
> is also selected as the macro PLATFORM_DRIVER gets re-defined to
> 'ohci_platform_driver' instead of 'exynos_ohci_driver'. Hence define
> it separately.
> 
> Also, silences the following compilation warnings:
> drivers/usb/host/ohci-hcd.c:1191:0: warning:
> "PLATFORM_DRIVER" redefined [enabled by default]
> drivers/usb/host/ohci-hcd.c:1110:0: note:
> this is the location of the previous definition
> drivers/usb/host/ohci-exynos.c:276:31: warning:
> ‘exynos_ohci_driver’ defined but not used [-Wunused-variable]

Why are you selecting both the Exynos and generic OHCI drivers at the 
same time?

Alan Stern

--
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