summaryrefslogtreecommitdiffstats
path: root/drivers/base/core.c
diff options
context:
space:
mode:
authorHanjun Guo2013-08-17 14:42:24 +0200
committerGreg Kroah-Hartman2013-08-20 02:10:10 +0200
commit3454bf96041e8c4cecc7d85b87c35056050a15b5 (patch)
tree446bb40a7cd8cbba37cf5e31b39acc1d5b82d4a5 /drivers/base/core.c
parentdriver core / cpu: Check if NUMA node is valid before bringing CPU up (diff)
downloadkernel-qcow2-linux-3454bf96041e8c4cecc7d85b87c35056050a15b5.tar.gz
kernel-qcow2-linux-3454bf96041e8c4cecc7d85b87c35056050a15b5.tar.xz
kernel-qcow2-linux-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/core.c')
-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);
}