aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/base
diff options
context:
space:
mode:
authorHanjun Guo <hanjun.guo@linaro.org>2013-08-17 08:42:24 -0400
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2013-08-19 20:10:10 -0400
commit3454bf96041e8c4cecc7d85b87c35056050a15b5 (patch)
tree446bb40a7cd8cbba37cf5e31b39acc1d5b82d4a5 /drivers/base
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/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;
36#else 36#else
37long sysfs_deprecated = 0; 37long sysfs_deprecated = 0;
38#endif 38#endif
39static __init int sysfs_deprecated_setup(char *arg) 39static int __init sysfs_deprecated_setup(char *arg)
40{ 40{
41 return kstrtol(arg, 10, &sysfs_deprecated); 41 return kstrtol(arg, 10, &sysfs_deprecated);
42} 42}