Orion: gpio: add missing include of linux/types.h
PATCH 1/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 <[email protected]>
---
This patch is against linux-next tree ( next-20110811 ).
arch/arm/plat-orion/include/plat/gpio.h | 1 + 1 files changed, 1 insertions(+), 0 deletions(-)
arch/arm/plat-orion/include/plat/gpio.h +1 -0
@@ -12,6 +12,7 @@#define __PLAT_GPIO_H#include <linux/init.h> +#include <linux/types.h> /* * Orion-specific GPIO API extensions.
Signature · 1 line
1.7.4.1
Am Freitag 12 August 2011, 10:25:56 schrieb Axel Lin:
Quoted 3 lines
This patch adds missing include of
linux/types.hto fix below build error.Signed-off-by Axel Lin <[email protected]>
I was about to send the same patch ;)
Reviewed-by Peter Huewe <[email protected]>