Gitweb:     
http://git.kernel.org/git/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commit;h=12730926557e9b89b7618b79754598b09387d37d
Commit:     12730926557e9b89b7618b79754598b09387d37d
Parent:     f15cf5151c3ecfe4073fb4478f686cb396bc2b17
Author:     Randy Dunlap <[EMAIL PROTECTED]>
AuthorDate: Mon Nov 5 14:51:00 2007 -0800
Committer:  Linus Torvalds <[EMAIL PROTECTED]>
CommitDate: Mon Nov 5 15:12:32 2007 -0800

    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 <[EMAIL PROTECTED]>
    Acked-by: Alessandro Zummo <[EMAIL PROTECTED]>
    Cc: David Brownell <[EMAIL PROTECTED]>
    Signed-off-by: Andrew Morton <[EMAIL PROTECTED]>
    Signed-off-by: Linus Torvalds <[EMAIL PROTECTED]>
---
 drivers/rtc/rtc-m48t59.c |    6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/drivers/rtc/rtc-m48t59.c b/drivers/rtc/rtc-m48t59.c
index bf60d35..2bad163 100644
--- a/drivers/rtc/rtc-m48t59.c
+++ b/drivers/rtc/rtc-m48t59.c
@@ -464,7 +464,7 @@ static int __devexit m48t59_rtc_remove(struct 
platform_device *pdev)
        return 0;
 }
 
-static struct platform_driver m48t59_rtc_platdrv = {
+static struct platform_driver m48t59_rtc_driver = {
        .driver         = {
                .name   = "rtc-m48t59",
                .owner  = THIS_MODULE,
@@ -475,12 +475,12 @@ static struct platform_driver m48t59_rtc_platdrv = {
 
 static int __init m48t59_rtc_init(void)
 {
-       return platform_driver_register(&m48t59_rtc_platdrv);
+       return platform_driver_register(&m48t59_rtc_driver);
 }
 
 static void __exit m48t59_rtc_exit(void)
 {
-       platform_driver_unregister(&m48t59_rtc_platdrv);
+       platform_driver_unregister(&m48t59_rtc_driver);
 }
 
 module_init(m48t59_rtc_init);
-
To unsubscribe from this list: send the line "unsubscribe git-commits-head" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to