projects
/
GitHub
/
LineageOS
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c7991b0
)
drivers / base: Fix sysfs_deprecated_setup() __init attribute location
author
Hanjun Guo
<hanjun.guo@linaro.org>
Sat, 17 Aug 2013 12:42:24 +0000
(20:42 +0800)
committer
Greg Kroah-Hartman
<gregkh@linuxfoundation.org>
Tue, 20 Aug 2013 00:10:10 +0000
(17:10 -0700)
__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>
drivers/base/core.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/base/core.c
b/drivers/base/core.c
index 09a99d6096449c884a34e448af3f9d6b5d287acc..af646afa5b7ebc4c97d36e193f7981f5f533ed1a 100644
(file)
--- 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 in
t sysfs_deprecated_setup(char *arg)
+static
int __ini
t sysfs_deprecated_setup(char *arg)
{
return kstrtol(arg, 10, &sysfs_deprecated);
}