diff options
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/block/swim3.c | 4 | ||||
-rw-r--r-- | drivers/macintosh/mediabay.c | 2 |
2 files changed, 0 insertions, 6 deletions
diff --git a/drivers/block/swim3.c b/drivers/block/swim3.c index b4e462f154ea..730ccea78e45 100644 --- a/drivers/block/swim3.c +++ b/drivers/block/swim3.c | |||
@@ -251,10 +251,6 @@ static int floppy_release(struct inode *inode, struct file *filp); | |||
251 | static int floppy_check_change(struct gendisk *disk); | 251 | static int floppy_check_change(struct gendisk *disk); |
252 | static int floppy_revalidate(struct gendisk *disk); | 252 | static int floppy_revalidate(struct gendisk *disk); |
253 | 253 | ||
254 | #ifndef CONFIG_PMAC_MEDIABAY | ||
255 | #define check_media_bay(which, what) 1 | ||
256 | #endif | ||
257 | |||
258 | static void swim3_select(struct floppy_state *fs, int sel) | 254 | static void swim3_select(struct floppy_state *fs, int sel) |
259 | { | 255 | { |
260 | struct swim3 __iomem *sw = fs->swim3; | 256 | struct swim3 __iomem *sw = fs->swim3; |
diff --git a/drivers/macintosh/mediabay.c b/drivers/macintosh/mediabay.c index 936788272a5f..51a112815f46 100644 --- a/drivers/macintosh/mediabay.c +++ b/drivers/macintosh/mediabay.c | |||
@@ -416,7 +416,6 @@ static void poll_media_bay(struct media_bay_info* bay) | |||
416 | } | 416 | } |
417 | } | 417 | } |
418 | 418 | ||
419 | #ifdef CONFIG_MAC_FLOPPY | ||
420 | int check_media_bay(struct device_node *which_bay, int what) | 419 | int check_media_bay(struct device_node *which_bay, int what) |
421 | { | 420 | { |
422 | int i; | 421 | int i; |
@@ -431,7 +430,6 @@ int check_media_bay(struct device_node *which_bay, int what) | |||
431 | return -ENODEV; | 430 | return -ENODEV; |
432 | } | 431 | } |
433 | EXPORT_SYMBOL(check_media_bay); | 432 | EXPORT_SYMBOL(check_media_bay); |
434 | #endif /* CONFIG_MAC_FLOPPY */ | ||
435 | 433 | ||
436 | #ifdef CONFIG_BLK_DEV_IDE_PMAC | 434 | #ifdef CONFIG_BLK_DEV_IDE_PMAC |
437 | int check_media_bay_by_base(unsigned long base, int what) | 435 | int check_media_bay_by_base(unsigned long base, int what) |