ARM: 6280/1: imx: Fix build failure when including <mach/gpio.h> without <linux/spinl...
authorUwe Kleine-König <u.kleine-koenig@pengutronix.de>
Mon, 2 Aug 2010 07:32:22 +0000 (08:32 +0100)
committerRussell King <rmk+kernel@arm.linux.org.uk>
Tue, 10 Aug 2010 21:10:50 +0000 (22:10 +0100)
commit868003ca7ad17ac6c1606dc36101f10a7825b399
tree37b505a5fb868b9e7293e110116963a6b516b8b8
parentf6cec0ae58c17522a7bc4e2f39dae19f199ab534
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>
arch/arm/plat-mxc/include/mach/gpio.h