]> git.proxmox.com Git - mirror_ubuntu-zesty-kernel.git/blobdiff - drivers/usb/host/ohci-hcd.c
usb: EHCI, OHCI: Add configuration for the SH USB controller
[mirror_ubuntu-zesty-kernel.git] / drivers / usb / host / ohci-hcd.c
index 7b791bf1e7b48668c0b4dafef873ce694391e40a..fb035751e4b28573e5ce37b195ea855defa9df4c 100644 (file)
@@ -1059,10 +1059,7 @@ MODULE_LICENSE ("GPL");
 #define PLATFORM_DRIVER                ohci_hcd_da8xx_driver
 #endif
 
-#if defined(CONFIG_CPU_SUBTYPE_SH7720) || \
-    defined(CONFIG_CPU_SUBTYPE_SH7721) || \
-    defined(CONFIG_CPU_SUBTYPE_SH7763) || \
-    defined(CONFIG_CPU_SUBTYPE_SH7786)
+#ifdef CONFIG_USB_OHCI_SH
 #include "ohci-sh.c"
 #define PLATFORM_DRIVER                ohci_hcd_sh_driver
 #endif