]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
rtc: m48t59 fix section mismatch warning
authorRandy Dunlap <randy.dunlap@oracle.com>
Mon, 5 Nov 2007 22:51:00 +0000 (14:51 -0800)
committerLinus Torvalds <torvalds@woody.linux-foundation.org>
Mon, 5 Nov 2007 23:12:32 +0000 (15:12 -0800)
commit12730926557e9b89b7618b79754598b09387d37d
treeeb5130a23d43c946bb5bd0446627a6bc41b51da0
parentf15cf5151c3ecfe4073fb4478f686cb396bc2b17
rtc: m48t59 fix section mismatch warning

Change the name of this data to use a name (suffix) that is whitelisted
by MODPOST so that the section warning is fixed (not generated).

WARNING: vmlinux.o(.data+0x1b140): Section mismatch: reference to .init.text:m48t59_rtc_probe (between 'm48t59_rtc_platdrv' and 'm48t59_nvram_attr')

Signed-off-by: Randy Dunlap <randy.dunlap@oracle.com>
Acked-by: Alessandro Zummo <a.zummo@towertech.it>
Cc: David Brownell <david-b@pacbell.net>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
drivers/rtc/rtc-m48t59.c