Commit 36885ff0 authored by Nikanth Karthikesan's avatar Nikanth Karthikesan Committed by Grant Likely

gpio/cs5535-gpio: Fix section mismatch

Fix section mismatch by annotating using variable name suffix.
Signed-off-by: default avatarNikanth Karthikesan <knikanth@suse.de>
Signed-off-by: default avatarGrant Likely <grant.likely@secretlab.ca>
parent 42fea15d
...@@ -373,7 +373,7 @@ static int __devexit cs5535_gpio_remove(struct platform_device *pdev) ...@@ -373,7 +373,7 @@ static int __devexit cs5535_gpio_remove(struct platform_device *pdev)
return 0; return 0;
} }
static struct platform_driver cs5535_gpio_drv = { static struct platform_driver cs5535_gpio_driver = {
.driver = { .driver = {
.name = DRV_NAME, .name = DRV_NAME,
.owner = THIS_MODULE, .owner = THIS_MODULE,
...@@ -384,12 +384,12 @@ static struct platform_driver cs5535_gpio_drv = { ...@@ -384,12 +384,12 @@ static struct platform_driver cs5535_gpio_drv = {
static int __init cs5535_gpio_init(void) 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) static void __exit cs5535_gpio_exit(void)
{ {
platform_driver_unregister(&cs5535_gpio_drv); platform_driver_unregister(&cs5535_gpio_driver);
} }
module_init(cs5535_gpio_init); module_init(cs5535_gpio_init);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment