mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-11 23:24:22 -04:00
powerpc: Fix old style declaration GCC warnings
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>
This commit is contained in:
parent
c05f69a3dc
commit
60d862e531
1 changed files with 2 additions and 2 deletions
|
|
@ -461,14 +461,14 @@ static int __init prom_next_node(phandle *nodep)
|
|||
}
|
||||
}
|
||||
|
||||
static int inline prom_getprop(phandle node, const char *pname,
|
||||
static inline 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 int inline prom_getproplen(phandle node, const char *pname)
|
||||
static inline int prom_getproplen(phandle node, const char *pname)
|
||||
{
|
||||
return call_prom("getproplen", 2, 1, node, ADDR(pname));
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue