]> git.hungrycats.org Git - linux/commitdiff
ppc64: fix build of ADB driver
authorBenjamin Herrenschmidt <benh@kernel.crashing.org>
Fri, 13 Feb 2004 02:46:41 +0000 (13:46 +1100)
committerBenjamin Herrenschmidt <benh@kernel.crashing.org>
Fri, 13 Feb 2004 02:46:41 +0000 (13:46 +1100)
drivers/macintosh/adb.c

index f1d34776308e176a4126bc6ed7cd2bfc583aa81f..f100c194be08ae2b4ea793fed151e67a7c7720a5 100644 (file)
@@ -40,9 +40,9 @@
 #include <asm/semaphore.h>
 #ifdef CONFIG_PPC
 #include <asm/prom.h>
-#include <asm/hydra.h>
 #endif
 
+
 EXPORT_SYMBOL(adb_controller);
 EXPORT_SYMBOL(adb_client_list);
 
@@ -290,7 +290,7 @@ int __init adb_init(void)
        struct adb_driver *driver;
        int i;
 
-#ifdef CONFIG_PPC
+#ifdef CONFIG_PPC32
        if ( (_machine != _MACH_chrp) && (_machine != _MACH_Pmac) )
                return 0;
 #endif