diff options
author | Arnd Bergmann <arnd@arndb.de> | 2013-06-04 10:46:00 -0400 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2013-06-06 14:16:44 -0400 |
commit | 358e91175cac9398b152ad9adc2391ebce34011c (patch) | |
tree | 780b8d1d3c6299df807a19f39537198110f27152 /drivers/usb | |
parent | 0c967e7ecdc2cf42853b4c76f0b2e94ba53c5b92 (diff) |
USB: OHCI: remove bogus #error
The OHCI host controller driver can be built standalone now,
without enabling any of the available bus glue drivers, so
there is not really a reason to error out here:
drivers/usb/host/ohci-hcd.c:1258: error:
#error "missing bus glue for ohci-hcd" #error "missing bus glue for ohci-hcd"
This follows the same change done in ehci recently as 843e56c0
"USB: EHCI: remove bogus #error" and hopefully avoids future
merge conflicts in this list.
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Acked-by: Alan Stern <stern@rowland.harvard.edu>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/usb')
-rw-r--r-- | drivers/usb/host/ohci-hcd.c | 20 |
1 files changed, 0 insertions, 20 deletions
diff --git a/drivers/usb/host/ohci-hcd.c b/drivers/usb/host/ohci-hcd.c index 4847ee971db9..a9d3437da220 100644 --- a/drivers/usb/host/ohci-hcd.c +++ b/drivers/usb/host/ohci-hcd.c | |||
@@ -1262,26 +1262,6 @@ MODULE_LICENSE ("GPL"); | |||
1262 | #define PLATFORM_DRIVER ohci_hcd_tilegx_driver | 1262 | #define PLATFORM_DRIVER ohci_hcd_tilegx_driver |
1263 | #endif | 1263 | #endif |
1264 | 1264 | ||
1265 | #if !IS_ENABLED(CONFIG_USB_OHCI_HCD_PCI) && \ | ||
1266 | !IS_ENABLED(CONFIG_USB_OHCI_HCD_PLATFORM) && \ | ||
1267 | !defined(PLATFORM_DRIVER) && \ | ||
1268 | !defined(OMAP1_PLATFORM_DRIVER) && \ | ||
1269 | !defined(OMAP3_PLATFORM_DRIVER) && \ | ||
1270 | !defined(OF_PLATFORM_DRIVER) && \ | ||
1271 | !defined(SA1111_DRIVER) && \ | ||
1272 | !defined(PS3_SYSTEM_BUS_DRIVER) && \ | ||
1273 | !defined(SM501_OHCI_DRIVER) && \ | ||
1274 | !defined(TMIO_OHCI_DRIVER) && \ | ||
1275 | !defined(S3C2410_PLATFORM_DRIVER) && \ | ||
1276 | !defined(EXYNOS_PLATFORM_DRIVER) && \ | ||
1277 | !defined(EP93XX_PLATFORM_DRIVER) && \ | ||
1278 | !defined(AT91_PLATFORM_DRIVER) && \ | ||
1279 | !defined(NXP_PLATFORM_DRIVER) && \ | ||
1280 | !defined(DAVINCI_PLATFORM_DRIVER) && \ | ||
1281 | !defined(SPEAR_PLATFORM_DRIVER) | ||
1282 | #error "missing bus glue for ohci-hcd" | ||
1283 | #endif | ||
1284 | |||
1285 | static int __init ohci_hcd_mod_init(void) | 1265 | static int __init ohci_hcd_mod_init(void) |
1286 | { | 1266 | { |
1287 | int retval = 0; | 1267 | int retval = 0; |