]> git.proxmox.com Git - mirror_ubuntu-eoan-kernel.git/commitdiff
gpio/basic_mmio: add missing include of spinlock_types.h
authorJamie Iles <jamie@jamieiles.com>
Fri, 10 Jun 2011 12:44:49 +0000 (13:44 +0100)
committerGrant Likely <grant.likely@secretlab.ca>
Fri, 10 Jun 2011 14:46:26 +0000 (08:46 -0600)
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>
include/linux/basic_mmio_gpio.h

index 1ae12710d7328a160bef4b793a912995a07c474e..98999cf107ce01fec1fb5dc2559a73f308e31de2 100644 (file)
@@ -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;