[PATCH] FIx compile of swim3 as module

Josh Boyer jwboyer at linux.vnet.ibm.com
Wed Feb 13 13:48:02 EST 2008


On Wed, 13 Feb 2008 13:40:20 +1100
tony at bakeyournoodle.com (Tony Breeds) wrote:

> 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.

Kyle posted a slightly different patch that seemed to still keep
the original intention of ifdefery in tact.  I've no idea which is
better, but the three of you might want to compare notes.

josh



More information about the Linuxppc-dev mailing list