diff options
author | Deepak Nibade <dnibade@nvidia.com> | 2012-09-26 18:49:00 +0530 |
---|---|---|
committer | Simone Willett <swillett@nvidia.com> | 2012-09-27 17:50:57 -0700 |
commit | cb68929f86318d18fa7d3215bc49041f85a04a0d (patch) | |
tree | 5b91fd1f7af7e669cfb33cc7c064b04857019de7 /drivers/misc/nct1008.c | |
parent | 1618af66a42a94d9bd191f979d83d6b864711a6c (diff) |
drivers: misc: nct: fix section mismatch warning
fix warning due to section mismatch in nct1008_probe
and nct1008_debuginit
bug 1038578
Change-Id: I9bd9bb44afc06b06defefcc0880e60881ae7f42e
Signed-off-by: Deepak Nibade <dnibade@nvidia.com>
Reviewed-on: http://git-master/r/138972
Reviewed-by: Automatic_Commit_Validation_User
GVS: Gerrit_Virtual_Submit
Reviewed-by: Shridhar Rasal <srasal@nvidia.com>
Reviewed-by: Sachin Nikam <snikam@nvidia.com>
Diffstat (limited to 'drivers/misc/nct1008.c')
-rw-r--r-- | drivers/misc/nct1008.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/misc/nct1008.c b/drivers/misc/nct1008.c index a2714698d00d..f6a1ce7254fa 100644 --- a/drivers/misc/nct1008.c +++ b/drivers/misc/nct1008.c @@ -440,7 +440,7 @@ static const struct file_operations debug_fops = { .release = single_release, }; -static int __init nct1008_debuginit(struct nct1008_data *nct) +static int __devinit nct1008_debuginit(struct nct1008_data *nct) { int err = 0; struct dentry *d; @@ -467,7 +467,7 @@ end: return err; } #else -static int __init nct1008_debuginit(struct nct1008_data *nct) +static int __devinit nct1008_debuginit(struct nct1008_data *nct) { return 0; } |