summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJamie Iles2011-06-10 14:44:49 +0200
committerGrant Likely2011-06-10 16:46:26 +0200
commite5ea3f12d41d96edf4ad9374db2b1725e457acec (patch)
tree348d3ff0f5856298291da3058db345598d393687
parentgpio/nomadik: fix sleepmode for elder Nomadik (diff)
downloadkernel-qcow2-linux-e5ea3f12d41d96edf4ad9374db2b1725e457acec.tar.gz
kernel-qcow2-linux-e5ea3f12d41d96edf4ad9374db2b1725e457acec.tar.xz
kernel-qcow2-linux-e5ea3f12d41d96edf4ad9374db2b1725e457acec.zip
gpio/basic_mmio: add missing include of spinlock_types.h
include/linux/basic_mmio_gpio.h uses a spinlock_t without including any of the spinlock headers resulting in this compiler warning. include/linux/basic_mmio_gpio.h:51:2: error: expected specifier-qualifier-list before 'spinlock_t' Explicitly include linux/spinlock_types.h to fix it. Signed-off-by: Jamie Iles <jamie@jamieiles.com> Signed-off-by: Grant Likely <grant.likely@secretlab.ca>
-rw-r--r--include/linux/basic_mmio_gpio.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/linux/basic_mmio_gpio.h b/include/linux/basic_mmio_gpio.h
index 1ae12710d732..98999cf107ce 100644
--- a/include/linux/basic_mmio_gpio.h
+++ b/include/linux/basic_mmio_gpio.h
@@ -16,6 +16,7 @@
#include <linux/gpio.h>
#include <linux/types.h>
#include <linux/compiler.h>
+#include <linux/spinlock_types.h>
struct bgpio_pdata {
int base;