]> git.kernelconcepts.de Git - karo-tx-linux.git/commitdiff
gpio/cs5535-gpio: Fix section mismatch
authorNikanth Karthikesan <knikanth@suse.de>
Tue, 15 Mar 2011 05:29:23 +0000 (10:59 +0530)
committerGrant Likely <grant.likely@secretlab.ca>
Thu, 17 Mar 2011 18:52:05 +0000 (12:52 -0600)
Fix section mismatch by annotating using variable name suffix.

Signed-off-by: Nikanth Karthikesan <knikanth@suse.de>
Signed-off-by: Grant Likely <grant.likely@secretlab.ca>
drivers/gpio/cs5535-gpio.c

index 0d05ea7d499b8cb60932807c4861bfd8a1c03be2..6e16cba56ad2e291ca39fdeeadb4844c968b4029 100644 (file)
@@ -373,7 +373,7 @@ static int __devexit cs5535_gpio_remove(struct platform_device *pdev)
        return 0;
 }
 
-static struct platform_driver cs5535_gpio_drv = {
+static struct platform_driver cs5535_gpio_driver = {
        .driver = {
                .name = DRV_NAME,
                .owner = THIS_MODULE,
@@ -384,12 +384,12 @@ static struct platform_driver cs5535_gpio_drv = {
 
 static int __init cs5535_gpio_init(void)
 {
-       return platform_driver_register(&cs5535_gpio_drv);
+       return platform_driver_register(&cs5535_gpio_driver);
 }
 
 static void __exit cs5535_gpio_exit(void)
 {
-       platform_driver_unregister(&cs5535_gpio_drv);
+       platform_driver_unregister(&cs5535_gpio_driver);
 }
 
 module_init(cs5535_gpio_init);