]> pilppa.com Git - linux-2.6-omap-h63xx.git/commitdiff
[PATCH] USB: EHCI on non-Au1200 build fix
authorRalf Baechle <ralf@linux-mips.org>
Sat, 3 Jun 2006 22:58:55 +0000 (23:58 +0100)
committerGreg Kroah-Hartman <gregkh@suse.de>
Wed, 21 Jun 2006 22:04:16 +0000 (15:04 -0700)
Including ehci-au1xxx.c on a non-Au1200 Alchemy only to have it throw
an error is stupid.

From: Ralf Baechle <ralf@linux-mips.org>
Acked-by: David Brownell <david-b@pacbell.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/usb/host/ehci-au1xxx.c
drivers/usb/host/ehci-hcd.c

index 0e444ab1930d06233553103ce01b76562682b6a1..9b4697add3130b4e482bc10483ff774ccc7a57de 100644 (file)
 #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)
index 7d7c97cf9b2fe5425d54dcecf1e6f4cdb46af328..9b37e508ada329119958d99d6955b7bba2ecbe65 100644 (file)
@@ -897,7 +897,7 @@ MODULE_LICENSE ("GPL");
 #define        PLATFORM_DRIVER         ehci_fsl_driver
 #endif
 
-#ifdef CONFIG_SOC_AU1X00
+#ifdef CONFIG_SOC_AU1200
 #include "ehci-au1xxx.c"
 #define        PLATFORM_DRIVER         ehci_hcd_au1xxx_driver
 #endif