Mailing List Archive

error: redefinition of ‘psci_init’
Hello,

I'm trying to build kernel for a banana PI (ARMv7).

I merged the latest gentoo-sources but I get the below message when making
kernel source:

CC arch/arm/kernel/psci.o
arch/arm/kernel/psci.c:287:12: error: redefinition of ‘psci_init’
int __init psci_init(void)
^
In file included from arch/arm/kernel/psci.c:26:0:
./arch/arm/include/asm/psci.h:44:19: note: previous definition of
‘psci_init’ was here
static inline int psci_init(void) { return 0; }
^
scripts/Makefile.build:258: recipe for target 'arch/arm/kernel/psci.o'
failed
make[1]: *** [arch/arm/kernel/psci.o] Error 1
Makefile:948: recipe for target 'arch/arm/kernel' failed
make: *** [arch/arm/kernel] Error 2

Any idea?

Thank you,
JM