Skip to content

Commit 3454bf9

Browse files
hanjun-guogregkh
authored andcommitted
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>
1 parent c7991b0 commit 3454bf9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

drivers/base/core.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ long sysfs_deprecated = 1;
3636
#else
3737
long sysfs_deprecated = 0;
3838
#endif
39-
static __init int sysfs_deprecated_setup(char *arg)
39+
static int __init sysfs_deprecated_setup(char *arg)
4040
{
4141
return kstrtol(arg, 10, &sysfs_deprecated);
4242
}

0 commit comments

Comments
 (0)