aboutsummaryrefslogtreecommitdiffstats
path: root/arch/arm/plat-mxc
diff options
context:
space:
mode:
authorUwe Kleine-König <u.kleine-koenig@pengutronix.de>2010-08-02 03:32:22 -0400
committerRussell King <rmk+kernel@arm.linux.org.uk>2010-08-10 17:10:50 -0400
commit868003ca7ad17ac6c1606dc36101f10a7825b399 (patch)
tree37b505a5fb868b9e7293e110116963a6b516b8b8 /arch/arm/plat-mxc
parentf6cec0ae58c17522a7bc4e2f39dae19f199ab534 (diff)
ARM: 6280/1: imx: Fix build failure when including <mach/gpio.h> without <linux/spinlock.h>
This is a follow up to 14cb0de (arm/imx/gpio: add spinlock protection) and fixes the following build failure: CC arch/arm/mach-imx/pcm970-baseboard.o In file included from arch/arm/include/asm/gpio.h:6, from include/linux/gpio.h:8, from arch/arm/mach-imx/pcm970-baseboard.c:20: arch/arm/plat-mxc/include/mach/gpio.h:40: error: expected specifier-qualifier-list before 'spinlock_t' Cc: stable@kernel.org Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de> Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
Diffstat (limited to 'arch/arm/plat-mxc')
-rw-r--r--arch/arm/plat-mxc/include/mach/gpio.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/arm/plat-mxc/include/mach/gpio.h b/arch/arm/plat-mxc/include/mach/gpio.h
index 661fbc605759..af33b74f569e 100644
--- a/arch/arm/plat-mxc/include/mach/gpio.h
+++ b/arch/arm/plat-mxc/include/mach/gpio.h
@@ -19,6 +19,7 @@
19#ifndef __ASM_ARCH_MXC_GPIO_H__ 19#ifndef __ASM_ARCH_MXC_GPIO_H__
20#define __ASM_ARCH_MXC_GPIO_H__ 20#define __ASM_ARCH_MXC_GPIO_H__
21 21
22#include <linux/spinlock.h>
22#include <mach/hardware.h> 23#include <mach/hardware.h>
23#include <asm-generic/gpio.h> 24#include <asm-generic/gpio.h>
24 25