From: Michael Neuling Date: Tue, 25 Mar 2014 00:43:08 +0000 (+1100) Subject: powerpc/opal: Add missing include X-Git-Tag: v4.14-rc1~7715^2~5 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=bfd25d72abc62a89f9c9c41417da998adcf2578e;p=platform%2Fkernel%2Flinux-rpi.git powerpc/opal: Add missing include next-20140324 currently fails compiling celleb_defconfig with: arch/powerpc/include/asm/opal.h:894:42: error: 'struct notifier_block' declared inside parameter list [-Werror] arch/powerpc/include/asm/opal.h:894:42: error: its scope is only this definition or declaration, which is probably not what you want [-Werror] arch/powerpc/include/asm/opal.h:896:14: error: 'struct notifier_block' declared inside parameter list [-Werror] This is due to a missing include which is added here. Signed-off-by: Michael Neuling Signed-off-by: Benjamin Herrenschmidt --- diff --git a/arch/powerpc/include/asm/opal.h b/arch/powerpc/include/asm/opal.h index 6bd3b18..a2efdaa 100644 --- a/arch/powerpc/include/asm/opal.h +++ b/arch/powerpc/include/asm/opal.h @@ -178,6 +178,8 @@ extern int opal_enter_rtas(struct rtas_args *args, #ifndef __ASSEMBLY__ +#include + /* Other enums */ enum OpalVendorApiTokens { OPAL_START_VENDOR_API_RANGE = 1000, OPAL_END_VENDOR_API_RANGE = 1999