From: Jamie Iles Date: Fri, 10 Jun 2011 12:44:49 +0000 (+0100) Subject: gpio/basic_mmio: add missing include of spinlock_types.h X-Git-Url: http://drtracing.org/?a=commitdiff_plain;h=e5ea3f12d41d96edf4ad9374db2b1725e457acec;p=deliverable%2Flinux.git 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 Signed-off-by: Grant Likely --- 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 #include #include +#include struct bgpio_pdata { int base;