summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNikanth Karthikesan <knikanth@suse.de>2011-03-15 10:59:27 +0530
committerJiri Kosina <jkosina@suse.cz>2011-04-10 17:01:03 +0200
commit853a1378ed6d6c9214d3a8f62d33186c6283cb51 (patch)
tree30ed31084d3ab6ab06de6c62bff7388bdcd0413a
parent58c2ee4007bea04cc37041fcbd380fadb7b7be82 (diff)
downloadlwn-853a1378ed6d6c9214d3a8f62d33186c6283cb51.tar.gz
lwn-853a1378ed6d6c9214d3a8f62d33186c6283cb51.zip
cs5535: Fix section mismatch
Fix section mismatch by annotating using variable name suffix. Signed-off-by: Nikanth Karthikesan <knikanth@suse.de> Signed-off-by: Jiri Kosina <jkosina@suse.cz>
-rw-r--r--drivers/misc/cs5535-mfgpt.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/misc/cs5535-mfgpt.c b/drivers/misc/cs5535-mfgpt.c
index d02d302ee6d5..e01e08c8c88b 100644
--- a/drivers/misc/cs5535-mfgpt.c
+++ b/drivers/misc/cs5535-mfgpt.c
@@ -329,7 +329,7 @@ done:
return err;
}
-static struct platform_driver cs5535_mfgpt_drv = {
+static struct platform_driver cs5535_mfgpt_driver = {
.driver = {
.name = DRV_NAME,
.owner = THIS_MODULE,
@@ -340,7 +340,7 @@ static struct platform_driver cs5535_mfgpt_drv = {
static int __init cs5535_mfgpt_init(void)
{
- return platform_driver_register(&cs5535_mfgpt_drv);
+ return platform_driver_register(&cs5535_mfgpt_driver);
}
module_init(cs5535_mfgpt_init);