Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

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 <axel.lin@gmail.com>
Reviewed-by: Peter Huewe <peterhuewe@gmx.de>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>

authored by

Axel Lin and committed by
Russell King
058b96d4 5f9d4f67

+1
+1
arch/arm/plat-orion/include/plat/gpio.h
··· 12 12 #define __PLAT_GPIO_H 13 13 14 14 #include <linux/init.h> 15 + #include <linux/types.h> 15 16 16 17 /* 17 18 * Orion-specific GPIO API extensions.