sm501: section mismatch

From: Andre Haupt
Date: Wed Jan 28 2009 - 11:37:47 EST


Hi,

I got this while building linus current tree.

...
LD arch/x86/boot/setup.elf
OBJCOPY arch/x86/boot/setup.bin
OBJCOPY arch/x86/boot/vmlinux.bin
BUILD arch/x86/boot/bzImage
Root device is (8, 1)
Setup is 12728 bytes (padded to 12800 bytes).
System is 2083 kB
CRC f0155965
Kernel: arch/x86/boot/bzImage is ready (#3)
Building modules, stage 2.
MODPOST 2167 modules
WARNING: drivers/ide/cmd640.o(.text+0x1c1): Section mismatch in reference from the function cmd640_init_dev() to the function .init.text:check_prefetch()
The function cmd640_init_dev() references
the function __init check_prefetch().
This is often because cmd640_init_dev lacks a __init
annotation or the annotation of check_prefetch is wrong.

WARNING: drivers/mfd/sm501.o(.text+0x876): Section mismatch in reference from the function sm501_register_gpio() to the function .devinit.text:sm501_gpio_register_chip()
The function sm501_register_gpio() references
the function __devinit sm501_gpio_register_chip().
This is often because sm501_register_gpio lacks a __devinit
annotation or the annotation of sm501_gpio_register_chip is wrong.

WARNING: drivers/mfd/sm501.o(.text+0x8a9): Section mismatch in reference from the function sm501_register_gpio() to the function .devinit.text:sm501_gpio_register_chip()
The function sm501_register_gpio() references
the function __devinit sm501_gpio_register_chip().
This is often because sm501_register_gpio lacks a __devinit
annotation or the annotation of sm501_gpio_register_chip is wrong.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/