diff options
author | Tony Breeds <tony@bakeyournoodle.com> | 2008-02-14 22:31:19 -0500 |
---|---|---|
committer | Linus Torvalds <torvalds@woody.linux-foundation.org> | 2008-02-14 23:58:04 -0500 |
commit | 2ebda63b09a4e2232effb7a37e609651fe221090 (patch) | |
tree | e231645efe2163ac3317a0d071220cf10ed18739 /drivers/macintosh | |
parent | e760e716d47b48caf98da348368fd41b4a9b9e7e (diff) |
Fix compile of swim3 as module
The current pmac32_defconfig fails to build with the following error:
Building modules, stage 2.
ERROR: "check_media_bay" [drivers/block/swim3.ko] undefined!
WARNING: modpost: Found 23 section mismatch(es).
To see full details build your kernel with:
'make CONFIG_DEBUG_SECTION_MISMATCH=y'
make[2]: *** [__modpost] Error 1
This patch fixes that.
Signed-off-by: Tony Breeds <tony@bakeyournoodle.com>
Acked-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Cc: Paul Mackerras <paulus@samba.org>
Acked-by: Bartlomiej Zolnierkiewicz <bzolnier@gmail.com>
Cc: Josh Boyer <jwboyer@linux.vnet.ibm.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'drivers/macintosh')
-rw-r--r-- | drivers/macintosh/mediabay.c | 2 |
1 files changed, 0 insertions, 2 deletions
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) |