From: Sam Ravnborg Date: Mon, 28 Apr 2008 09:11:55 +0000 (-0700) Subject: rtc: silence section mismatch warning in rtc-test X-Git-Tag: v2.6.26-rc1~1017 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c464652813fe128c346ce6e7ec8fb0d2b67de6fb;p=pandora-kernel.git 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 Cc: Alessandro Zummo Cc: David Brownell Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed