projects
/
GitHub
/
moto-9609
/
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:
c05f69a
)
powerpc: Fix old style declaration GCC warnings
author
Tobias Klauser
<tklauser@distanz.ch>
Thu, 17 Nov 2016 16:20:24 +0000
(17:20 +0100)
committer
Michael Ellerman
<mpe@ellerman.id.au>
Fri, 18 Nov 2016 11:40:38 +0000
(22:40 +1100)
Fix two [-Wold-style-declaration] GCC warnings by moving the inline
keyword before the return type.
Signed-off-by: Tobias Klauser <tklauser@distanz.ch>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
arch/powerpc/kernel/prom_init.c
patch
|
blob
|
blame
|
history
diff --git
a/arch/powerpc/kernel/prom_init.c
b/arch/powerpc/kernel/prom_init.c
index 88ac964f48586bb90f5b1daf19e9e192237dec6a..05d2556ebb9f6f721d0b5925ee81dc5819e0e536 100644
(file)
--- a/
arch/powerpc/kernel/prom_init.c
+++ b/
arch/powerpc/kernel/prom_init.c
@@
-461,14
+461,14
@@
static int __init prom_next_node(phandle *nodep)
}
}
-static in
t inline
prom_getprop(phandle node, const char *pname,
+static in
line int
prom_getprop(phandle node, const char *pname,
void *value, size_t valuelen)
{
return call_prom("getprop", 4, 1, node, ADDR(pname),
(u32)(unsigned long) value, (u32) valuelen);
}
-static in
t inline
prom_getproplen(phandle node, const char *pname)
+static in
line int
prom_getproplen(phandle node, const char *pname)
{
return call_prom("getproplen", 2, 1, node, ADDR(pname));
}