From: Axel Lin Date: Tue, 23 Aug 2011 23:43:16 +0000 (+0100) Subject: ARM: 7063/1: Orion: gpio: add missing include of linux/types.h X-Git-Tag: firefly_0821_release~3680^2~4292^2~8 X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=058b96d445a05eac71be5e6b5b5db34412b4b175;p=firefly-linux-kernel-4.4.55.git ARM: 7063/1: Orion: gpio: add missing include of linux/types.h This patch adds missing include of linux/types.h to fix below build error. CC arch/arm/mach-mv78xx0/mpp.o In file included from arch/arm/mach-mv78xx0/include/mach/gpio.h:9, from /home/axel/repos/git/linux-2.6/arch/arm/include/asm/gpio.h:5, from include/linux/gpio.h:18, from arch/arm/mach-mv78xx0/mpp.c:10: arch/arm/plat-orion/include/plat/gpio.h:28: error: expected declaration specifiers or '...' before 'u32' make[1]: *** [arch/arm/mach-mv78xx0/mpp.o] Error 1 make: *** [arch/arm/mach-mv78xx0] Error 2 Signed-off-by: Axel Lin Reviewed-by: Peter Huewe Signed-off-by: Russell King --- diff --git a/arch/arm/plat-orion/include/plat/gpio.h b/arch/arm/plat-orion/include/plat/gpio.h index f7d76308603f..3abf30428bee 100644 --- a/arch/arm/plat-orion/include/plat/gpio.h +++ b/arch/arm/plat-orion/include/plat/gpio.h @@ -12,6 +12,7 @@ #define __PLAT_GPIO_H #include +#include /* * Orion-specific GPIO API extensions.