summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAndrea Adami <andrea.adami@gmail.com>2013-07-21 01:07:39 +0200
committerSamuel Ortiz <sameo@linux.intel.com>2013-07-31 02:04:52 +0200
commit38c4faaea4ca71c69584ef71cca8d0735d5361c1 (patch)
tree59ea9d7a0aad88d79f424e6e6c31f4eff13a6564
parentmfd: mcp: Add missing linux/device.h header (diff)
downloadlinux-38c4faaea4ca71c69584ef71cca8d0735d5361c1.tar.xz
linux-38c4faaea4ca71c69584ef71cca8d0735d5361c1.zip
mfd: ucb1x00: Explicitely include linux/device.h
Fixes this compilation error: linux/include/linux/mfd/ucb1x00.h:137:17: error: field 'dev' has incomplete type Signed-off-by: Andrea Adami <andrea.adami@gmail.com> Signed-off-by: Lee Jones <lee.jones@linaro.org> Signed-off-by: Samuel Ortiz <sameo@linux.intel.com>
-rw-r--r--include/linux/mfd/ucb1x00.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/linux/mfd/ucb1x00.h b/include/linux/mfd/ucb1x00.h
index 28af41756360..88f90cbf8e6a 100644
--- a/include/linux/mfd/ucb1x00.h
+++ b/include/linux/mfd/ucb1x00.h
@@ -10,6 +10,7 @@
#ifndef UCB1200_H
#define UCB1200_H
+#include <linux/device.h>
#include <linux/mfd/mcp.h>
#include <linux/gpio.h>
#include <linux/mutex.h>