]> git.baikalelectronics.ru Git - kernel.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)
commitf8e0ee13bd7cbfd0a6581269e661a16f5720cd1b
treedfa63e2029c6d7eaa8b95dae1319db7f62a754fc
parentb0456ac188a65bd98c417153b740cf9f18929ce4
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