USB: OHCI: make ohci-platform a separate driver
authorManjunath Goudar <manjunath.goudar@linaro.org>
Mon, 3 Jun 2013 15:16:08 +0000 (20:46 +0530)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 3 Jun 2013 18:02:26 +0000 (11:02 -0700)
commit928fb68e2357be8d82efd03d1a8555d8fa0713e6
tree5624c034483620faea8f75cd123acf7fa44410ca
parent2373536537efa4d9d71da12a666c081ebc9a1ba1
USB: OHCI: make ohci-platform a separate driver

This patch splits the ohci-platform code from ohci-hcd out
into its own separate driver module.This work is part of enabling
multi-platform kernels on ARM.

In V2:
  -Passed "hcd" argument instead of "ohci" in ohci_setup() because it is
   using "struct usb_hcd" argument.
In V3:
  -Directly passed "hcd" argument not required to call ohci_to_hcd() function.

Signed-off-by: Manjunath Goudar <manjunath.goudar@linaro.org>
Acked-by: Alan Stern <stern@rowland.harvard.edu>
Cc: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/usb/host/Kconfig
drivers/usb/host/Makefile
drivers/usb/host/ohci-hcd.c
drivers/usb/host/ohci-platform.c