summaryrefslogtreecommitdiffstats
path: root/drivers/base
diff options
context:
space:
mode:
authorHanjun Guo <hanjun.guo@linaro.org>2013-08-17 20:42:24 +0800
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2013-08-19 17:10:10 -0700
commit3454bf96041e8c4cecc7d85b87c35056050a15b5 (patch)
tree446bb40a7cd8cbba37cf5e31b39acc1d5b82d4a5 /drivers/base
parentc7991b0b720efa5e0a590f6359d36e09bd187b76 (diff)
downloadlinux-stable-3454bf96041e8c4cecc7d85b87c35056050a15b5.tar.gz
linux-stable-3454bf96041e8c4cecc7d85b87c35056050a15b5.tar.bz2
linux-stable-3454bf96041e8c4cecc7d85b87c35056050a15b5.zip
drivers / base: Fix sysfs_deprecated_setup() __init attribute location
__init belongs after the return type on functions, not before it. Signed-off-by: Hanjun Guo <hanjun.guo@linaro.org> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/base')
-rw-r--r--drivers/base/core.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/base/core.c b/drivers/base/core.c
index 09a99d609644..af646afa5b7e 100644
--- a/drivers/base/core.c
+++ b/drivers/base/core.c
@@ -36,7 +36,7 @@ long sysfs_deprecated = 1;
#else
long sysfs_deprecated = 0;
#endif
-static __init int sysfs_deprecated_setup(char *arg)
+static int __init sysfs_deprecated_setup(char *arg)
{
return kstrtol(arg, 10, &sysfs_deprecated);
}