diff options
author | Michael Neuling <mikey@neuling.org> | 2014-03-24 20:43:08 -0400 |
---|---|---|
committer | Benjamin Herrenschmidt <benh@kernel.crashing.org> | 2014-04-08 22:53:36 -0400 |
commit | bfd25d72abc62a89f9c9c41417da998adcf2578e (patch) | |
tree | 521bac14337ba459b7401701490462782b1684ef | |
parent | aba6f4f2e64f9b43aaba6d46c67e9e25a55f4614 (diff) |
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 <mikey@neuling.org>
Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
-rw-r--r-- | arch/powerpc/include/asm/opal.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/powerpc/include/asm/opal.h b/arch/powerpc/include/asm/opal.h index 6bd3b183cd63..a2efdaa020b0 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, | |||
178 | 178 | ||
179 | #ifndef __ASSEMBLY__ | 179 | #ifndef __ASSEMBLY__ |
180 | 180 | ||
181 | #include <linux/notifier.h> | ||
182 | |||
181 | /* Other enums */ | 183 | /* Other enums */ |
182 | enum OpalVendorApiTokens { | 184 | enum OpalVendorApiTokens { |
183 | OPAL_START_VENDOR_API_RANGE = 1000, OPAL_END_VENDOR_API_RANGE = 1999 | 185 | OPAL_START_VENDOR_API_RANGE = 1000, OPAL_END_VENDOR_API_RANGE = 1999 |