]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
rtc: silence section mismatch warning in rtc-test
authorSam Ravnborg <sam@ravnborg.org>
Mon, 28 Apr 2008 09:11:55 +0000 (02:11 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Mon, 28 Apr 2008 15:58:16 +0000 (08:58 -0700)
commitc464652813fe128c346ce6e7ec8fb0d2b67de6fb
treedfa63e2029c6d7eaa8b95dae1319db7f62a754fc
parent4edac2b442d6176afb0ae431123993dc00882987
rtc: silence section mismatch warning in rtc-test

Fix following warning:
WARNING: vmlinux.o(.data+0x253e28): Section mismatch in reference from the variable test_drv to the function .devexit.text:test_remove()

Fix by renaming the platfrom_driver variable from *_drv to *_driver
so modpost ignore the reference to an __devexit section.

Signed-off-by: Sam Ravnborg <sam@ravnborg.org>
Cc: 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-test.c