Alan Stern dba63b2f73 USB: EHCI: fix build error in ehci-mxc
This patch (as1643b) fixes a build error in ehci-hcd when compiling for
ARM with allmodconfig:

drivers/usb/host/ehci-hcd.c:1285:0: warning: "PLATFORM_DRIVER" redefined [enabled by default]
drivers/usb/host/ehci-hcd.c:1255:0: note: this is the location of the previous definition
drivers/usb/host/ehci-mxc.c:280:31: warning: 'ehci_mxc_driver' defined but not used [-Wunused-variable]
drivers/usb/host/ehci-hcd.c:1285:0: warning: "PLATFORM_DRIVER" redefined [enabled by default]
drivers/usb/host/ehci-hcd.c:1255:0: note: this is the location of the previous definition

The fix is to convert ehci-mxc over to the new "ehci-hcd is a library"
scheme so that it can coexist peacefully with the ehci-platform
driver.  As part of the conversion the ehci_mxc_priv data structure,
which was allocated dynamically, is now placed where it belongs: in
the private area at the end of struct ehci_hcd.

Signed-off-by: Alan Stern <stern@rowland.harvard.edu>
Tested-by: Shawn Guo <shawn.guo@linaro.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2013-01-23 11:27:08 -08:00
..
2012-11-21 13:27:17 -08:00
2012-11-21 13:27:17 -08:00
2012-11-21 13:27:16 -08:00
2012-11-21 13:27:17 -08:00
2012-12-13 11:58:41 +02:00
2012-12-12 11:45:16 -08:00
2012-11-21 13:27:17 -08:00
2012-11-21 13:27:16 -08:00
2012-11-21 13:27:16 -08:00
2012-11-21 13:27:17 -08:00
2012-08-27 07:15:30 -07:00
2012-11-21 13:27:16 -08:00
2012-11-21 13:27:16 -08:00
2012-11-21 13:27:17 -08:00
2012-11-21 13:27:16 -08:00
2012-11-21 13:27:17 -08:00
2012-11-21 13:27:16 -08:00
2012-11-21 13:27:17 -08:00
2012-11-21 13:27:17 -08:00
2013-01-23 11:27:08 -08:00
2012-12-12 11:45:16 -08:00
2012-05-01 21:33:37 -07:00
2012-11-21 13:27:16 -08:00
2012-11-21 13:27:17 -08:00
2012-11-21 13:27:17 -08:00
2012-11-21 13:27:16 -08:00
2012-11-21 13:27:16 -08:00
2012-12-12 11:45:16 -08:00
2012-12-12 11:45:16 -08:00
2012-11-21 13:27:16 -08:00
2012-11-21 13:27:17 -08:00
2012-11-21 13:27:16 -08:00
2012-11-21 13:27:16 -08:00
2012-11-21 13:27:16 -08:00
2012-11-21 13:27:17 -08:00
2012-11-21 13:27:16 -08:00
2012-11-21 13:27:16 -08:00
2012-11-21 13:27:17 -08:00
2012-11-21 13:27:17 -08:00
2012-11-21 13:27:17 -08:00
2012-11-21 13:27:17 -08:00
2012-11-21 13:27:16 -08:00
2012-11-21 13:27:16 -08:00