misc: nct: section mismatch fix
Bitan Biswas [Wed, 12 Sep 2012 09:45:04 +0000 (14:45 +0530)]
Fix section mismatch error for nct thermal sensor driver

Bug 1038578

Change-Id: I39c86896ab50a11b30c3b975b9d20190417bebb3
Signed-off-by: Bitan Biswas <bbiswas@nvidia.com>
Reviewed-on: http://git-master/r/132797
Signed-off-by: Deepak Nibade <dnibade@nvidia.com>
Reviewed-on: http://git-master/r/145291
Reviewed-by: Automatic_Commit_Validation_User
GVS: Gerrit_Virtual_Submit
Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>

drivers/misc/nct1008.c

index f6a1ce7..5e35413 100644 (file)
@@ -440,7 +440,7 @@ static const struct file_operations debug_fops = {
        .release        = single_release,
 };
 
-static int __devinit nct1008_debuginit(struct nct1008_data *nct)
+static int nct1008_debuginit(struct nct1008_data *nct)
 {
        int err = 0;
        struct dentry *d;
@@ -467,7 +467,7 @@ end:
        return err;
 }
 #else
-static int __devinit nct1008_debuginit(struct nct1008_data *nct)
+static int nct1008_debuginit(struct nct1008_data *nct)
 {
        return 0;
 }