diff options
Diffstat (limited to 'drivers/macintosh/mediabay.c')
-rw-r--r-- | drivers/macintosh/mediabay.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/macintosh/mediabay.c b/drivers/macintosh/mediabay.c index 8dbf2852bae0..53c1c7909413 100644 --- a/drivers/macintosh/mediabay.c +++ b/drivers/macintosh/mediabay.c | |||
@@ -839,8 +839,8 @@ static int __init media_bay_init(void) | |||
839 | media_bays[i].cd_index = -1; | 839 | media_bays[i].cd_index = -1; |
840 | #endif | 840 | #endif |
841 | } | 841 | } |
842 | if (_machine != _MACH_Pmac) | 842 | if (!machine_is(powermac)) |
843 | return -ENODEV; | 843 | return 0; |
844 | 844 | ||
845 | macio_register_driver(&media_bay_driver); | 845 | macio_register_driver(&media_bay_driver); |
846 | 846 | ||