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
parent62480dc8b4bd951057c0712c8547e6c3fa12008a (diff)
downloadop-kernel-dev-38c4faaea4ca71c69584ef71cca8d0735d5361c1.zip
op-kernel-dev-38c4faaea4ca71c69584ef71cca8d0735d5361c1.tar.gz
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 28af417..88f90cb 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>
OpenPOWER on IntegriCloud