linuxppc-dev.lists.ozlabs.org archive mirror
 help / color / mirror / Atom feed
* [2.6.22] powerpc: section mismatch for macmodes.c:mac_find_mode()
@ 2007-07-09 23:47 Mikael Pettersson
  2007-07-10  0:19 ` [2.6 patch] drivers/video/macmodes.c:mac_find_mode() mustn't be __devinit Adrian Bunk
  0 siblings, 1 reply; 2+ messages in thread
From: Mikael Pettersson @ 2007-07-09 23:47 UTC (permalink / raw)
  To: linuxppc-dev; +Cc: linux-kernel

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

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2007-07-10  0:18 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-07-09 23:47 [2.6.22] powerpc: section mismatch for macmodes.c:mac_find_mode() Mikael Pettersson
2007-07-10  0:19 ` [2.6 patch] drivers/video/macmodes.c:mac_find_mode() mustn't be __devinit Adrian Bunk

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).