diff options
author | Hanjun Guo <hanjun.guo@linaro.org> | 2013-08-17 08:42:24 -0400 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2013-08-19 20:10:10 -0400 |
commit | 3454bf96041e8c4cecc7d85b87c35056050a15b5 (patch) | |
tree | 446bb40a7cd8cbba37cf5e31b39acc1d5b82d4a5 /drivers/base | |
parent | c7991b0b720efa5e0a590f6359d36e09bd187b76 (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.c | 2 |
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 |
37 | long sysfs_deprecated = 0; | 37 | long sysfs_deprecated = 0; |
38 | #endif | 38 | #endif |
39 | static __init int sysfs_deprecated_setup(char *arg) | 39 | static 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 | } |