Skip to contentSkip to conversation

EHCI on non-Au1200 build fix

PATCH New Ralf Baechle 1 participant 1 message Jun 3, 2006

Subsystems (3)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 EHCI on non-Au1200 build fix

Including ehci-au1xxx.c on a non-Au1200 Alchemy only to have it throw an error is stupid.

drivers/usb/host/ehci-au1xxx.c +0 -4
index 63eadee..9315898 100644
@@ -16,10 +16,6 @@
 #include <linux/platform_device.h>
 #include <asm/mach-au1x00/au1000.h>
 
-#ifndef CONFIG_SOC_AU1200
-#error "this Alchemy chip doesn't have EHCI"
-#else				/* Au1200 */
-
 #define USB_HOST_CONFIG   (USB_MSR_BASE + USB_MSR_MCFG)
 #define USB_MCFG_PFEN     (1<<31)
 #define USB_MCFG_RDCOMB   (1<<30)
drivers/usb/host/ehci-hcd.c +1 -1
index 79f2d8b..c77e527 100644
@@ -897,7 +897,7 @@ #include "ehci-fsl.c"
 #define	EHCI_BUS_GLUED
 #endif
 
-#ifdef CONFIG_SOC_AU1X00
+#ifdef CONFIG_SOC_AU1200
 #include "ehci-au1xxx.c"
 #define	EHCI_BUS_GLUED
 #endif