[2.6.22] powerpc: section mismatch for macmodes.c:mac_find_mode()
Mikael Pettersson
mikpe at it.uu.se
Tue Jul 10 09:47:14 EST 2007
A vanilla 2.6.22 built for ppc32 and configured with CONFIG_FB_MACMODES=y, CONFIG_HOTPLUG=n,
and CONFIG_MODULES=y, triggers the following warning from modpost:
WARNING: drivers/built-in.o(__ksymtab+0x3b0): Section mismatch: reference to .init.text:mac_find_mode (between '__ksymtab_mac_find_mode' and '__ksymtab_mac_map_monitor_sense')
There's an EXPORT_SYMBOL(mac_find_mode), but mac_find_mode() is __devinit
and thus __init in this kernel.
/Mikael
More information about the Linuxppc-dev
mailing list