summaryrefslogtreecommitdiff
path: root/drivers/gpio
diff options
context:
space:
mode:
authorNikanth Karthikesan <knikanth@suse.de>2011-03-15 10:59:23 +0530
committerGrant Likely <grant.likely@secretlab.ca>2011-03-17 12:52:05 -0600
commit36885ff0e6563687e6152da6d311abbf83c0198f (patch)
treefe39b4bdd9238df7f5c2ce4d994a8e44986dc7a8 /drivers/gpio
parent42fea15d6dc410e62dac6a764142045280624a5b (diff)
downloadlinux-3.10-36885ff0e6563687e6152da6d311abbf83c0198f.tar.gz
linux-3.10-36885ff0e6563687e6152da6d311abbf83c0198f.tar.bz2
linux-3.10-36885ff0e6563687e6152da6d311abbf83c0198f.zip
gpio/cs5535-gpio: Fix section mismatch
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>
Diffstat (limited to 'drivers/gpio')
-rw-r--r--drivers/gpio/cs5535-gpio.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/gpio/cs5535-gpio.c b/drivers/gpio/cs5535-gpio.c
index 0d05ea7d499..6e16cba56ad 100644
--- a/drivers/gpio/cs5535-gpio.c
+++ b/drivers/gpio/cs5535-gpio.c
@@ -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);