diff options
Diffstat (limited to 'drivers/macintosh/adb.c')
-rw-r--r-- | drivers/macintosh/adb.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/macintosh/adb.c b/drivers/macintosh/adb.c index 34fcabac5fdb..259fd8973ce9 100644 --- a/drivers/macintosh/adb.c +++ b/drivers/macintosh/adb.c | |||
@@ -42,6 +42,7 @@ | |||
42 | #include <asm/semaphore.h> | 42 | #include <asm/semaphore.h> |
43 | #ifdef CONFIG_PPC | 43 | #ifdef CONFIG_PPC |
44 | #include <asm/prom.h> | 44 | #include <asm/prom.h> |
45 | #include <asm/machdep.h> | ||
45 | #endif | 46 | #endif |
46 | 47 | ||
47 | 48 | ||
@@ -294,7 +295,7 @@ int __init adb_init(void) | |||
294 | int i; | 295 | int i; |
295 | 296 | ||
296 | #ifdef CONFIG_PPC32 | 297 | #ifdef CONFIG_PPC32 |
297 | if ( (_machine != _MACH_chrp) && (_machine != _MACH_Pmac) ) | 298 | if (!machine_is(chrp) && !machine_is(powermac)) |
298 | return 0; | 299 | return 0; |
299 | #endif | 300 | #endif |
300 | #ifdef CONFIG_MAC | 301 | #ifdef CONFIG_MAC |