Skip to content

Commit

Permalink
gpio/cs5535-gpio: Fix section mismatch
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Nikanth Karthikesan authored and Grant Likely committed Mar 17, 2011
1 parent 42fea15 commit 36885ff
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions drivers/gpio/cs5535-gpio.c
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand All @@ -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);
Expand Down

0 comments on commit 36885ff

Please sign in to comment.