aboutsummaryrefslogtreecommitdiff
path: root/drivers
diff options
context:
space:
mode:
authorHanjun Guo2013-08-17 20:42:24 +0800
committerGreg Kroah-Hartman2013-08-19 17:10:10 -0700
commit3454bf96041e8c4cecc7d85b87c35056050a15b5 (patch)
tree446bb40a7cd8cbba37cf5e31b39acc1d5b82d4a5 /drivers
parentc7991b0b720efa5e0a590f6359d36e09bd187b76 (diff)
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')
-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);
}