projects
/
linux-2.6-block.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
[PATCH] powerpc: Kill _machine and hard-coded platform numbers
[linux-2.6-block.git]
/
drivers
/
macintosh
/
adbhid.c
diff --git
a/drivers/macintosh/adbhid.c
b/drivers/macintosh/adbhid.c
index c0b46bceb5df88709348e4e6e4bdc68ec93499ed..0a4c680d4ac090f0ac7328da57bbf8617e728443 100644
(file)
--- a/
drivers/macintosh/adbhid.c
+++ b/
drivers/macintosh/adbhid.c
@@
-1206,8
+1206,8
@@
init_ms_a3(int id)
static int __init adbhid_init(void)
{
#ifndef CONFIG_MAC
- if (
(_machine != _MACH_chrp) && (_machine != _MACH_Pmac)
)
- return 0;
+ if (
!machine_is(chrp) && !machine_is(powermac)
)
+
return 0;
#endif
led_request.complete = 1;