diff options
Diffstat (limited to 'drivers/usb/host/ehci-hcd.c')
-rw-r--r-- | drivers/usb/host/ehci-hcd.c | 11 |
1 files changed, 8 insertions, 3 deletions
diff --git a/drivers/usb/host/ehci-hcd.c b/drivers/usb/host/ehci-hcd.c index 8730babb5771..79f2d8b9bfb6 100644 --- a/drivers/usb/host/ehci-hcd.c +++ b/drivers/usb/host/ehci-hcd.c | |||
@@ -889,14 +889,19 @@ MODULE_LICENSE ("GPL"); | |||
889 | 889 | ||
890 | #ifdef CONFIG_PCI | 890 | #ifdef CONFIG_PCI |
891 | #include "ehci-pci.c" | 891 | #include "ehci-pci.c" |
892 | #define EHCI_BUS_GLUED | ||
892 | #endif | 893 | #endif |
893 | 894 | ||
894 | #ifdef CONFIG_PPC_83xx | 895 | #ifdef CONFIG_PPC_83xx |
895 | #include "ehci-fsl.c" | 896 | #include "ehci-fsl.c" |
897 | #define EHCI_BUS_GLUED | ||
896 | #endif | 898 | #endif |
897 | 899 | ||
898 | #if !(defined(CONFIG_PCI) || \ | 900 | #ifdef CONFIG_SOC_AU1X00 |
899 | defined(CONFIG_PPC_83xx) \ | 901 | #include "ehci-au1xxx.c" |
900 | ) | 902 | #define EHCI_BUS_GLUED |
903 | #endif | ||
904 | |||
905 | #ifndef EHCI_BUS_GLUED | ||
901 | #error "missing bus glue for ehci-hcd" | 906 | #error "missing bus glue for ehci-hcd" |
902 | #endif | 907 | #endif |