Initial INC MR3 commit with EVO/BRAVO included and majority of the compile warnings ...
/arch/arm/plat-mxc/include/mach/gpio.h
blob:894d2f87c85600c495d117a6d0f524060ee15aaa -> blob:7a0dc5aa2479c4d46794279ebf54d425e2f0fc30
--- arch/arm/plat-mxc/include/mach/gpio.h
+++ arch/arm/plat-mxc/include/mach/gpio.h
@@ -19,6 +19,7 @@
#ifndef __ASM_ARCH_MXC_GPIO_H__
#define __ASM_ARCH_MXC_GPIO_H__
+#include <linux/spinlock.h>
#include <mach/hardware.h>
#include <asm-generic/gpio.h>
@@ -36,6 +37,7 @@ struct mxc_gpio_port {
int virtual_irq_start;
struct gpio_chip chip;
u32 both_edges;
+ spinlock_t lock;
};
int mxc_gpio_init(struct mxc_gpio_port*, int);