Skip to content

Commit

Permalink
ARM: 7063/1: Orion: gpio: add missing include of linux/types.h
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Axel Lin authored and Russell King committed Aug 24, 2011
1 parent 5f9d4f6 commit 058b96d
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions arch/arm/plat-orion/include/plat/gpio.h
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@
#define __PLAT_GPIO_H

#include <linux/init.h>
#include <linux/types.h>

/*
* Orion-specific GPIO API extensions.
Expand Down

0 comments on commit 058b96d

Please sign in to comment.