You've already forked linux-apfs
mirror of
https://github.com/linux-apfs/linux-apfs.git
synced 2026-05-01 15:00:59 -07:00
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>
This commit is contained in:
committed by
Greg Kroah-Hartman
parent
c7991b0b72
commit
3454bf9604
+1
-1
@@ -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);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user