From: Hanjun Guo Date: Sat, 17 Aug 2013 12:42:24 +0000 (+0800) Subject: drivers / base: Fix sysfs_deprecated_setup() __init attribute location X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=3454bf96041e8c4cecc7d85b87c35056050a15b5;p=linux-beck.git 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 Signed-off-by: Greg Kroah-Hartman --- 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); }