ppc64: fix build of ADB driver

parent 93e7e720
...@@ -40,9 +40,9 @@ ...@@ -40,9 +40,9 @@
#include <asm/semaphore.h> #include <asm/semaphore.h>
#ifdef CONFIG_PPC #ifdef CONFIG_PPC
#include <asm/prom.h> #include <asm/prom.h>
#include <asm/hydra.h>
#endif #endif
EXPORT_SYMBOL(adb_controller); EXPORT_SYMBOL(adb_controller);
EXPORT_SYMBOL(adb_client_list); EXPORT_SYMBOL(adb_client_list);
...@@ -290,7 +290,7 @@ int __init adb_init(void) ...@@ -290,7 +290,7 @@ int __init adb_init(void)
struct adb_driver *driver; struct adb_driver *driver;
int i; int i;
#ifdef CONFIG_PPC #ifdef CONFIG_PPC32
if ( (_machine != _MACH_chrp) && (_machine != _MACH_Pmac) ) if ( (_machine != _MACH_chrp) && (_machine != _MACH_Pmac) )
return 0; return 0;
#endif #endif
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment