usb: EHCI, OHCI: Add configuration for the SH USB controller
authorYoshihiro Shimoda <yoshihiro.shimoda.uh@renesas.com>
Tue, 1 Mar 2011 07:58:37 +0000 (16:58 +0900)
committerGreg Kroah-Hartman <gregkh@suse.de>
Tue, 1 Mar 2011 21:01:46 +0000 (16:01 -0500)
commit60b0bf0f11a02a6c288c7a923b2521aa7cfdc6c3
tree33f751ced166fdce75efa89b3b4f9e80b178e009
parentad93562bdeecdded7d02eaaaf1aa5705ab57b1b7
usb: EHCI, OHCI: Add configuration for the SH USB controller

The SH EHCI/OHCI driver hardcoded the CPU type in {ehci,ohci}-hcd.c.
So if we will add the new CPU, we had to add to the hcd driver each time.
The patch adds the CONFIG_USB_{EHCI,OHCI}_SH configuration. So if we
want to use the SH EHCI/OHCI, we only enable the configuration.

Signed-off-by: Yoshihiro Shimoda <yoshihiro.shimoda.uh@renesas.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/usb/host/Kconfig
drivers/usb/host/ehci-hcd.c
drivers/usb/host/ohci-hcd.c