mfd: ucb1x00: Explicitely include linux/device.h
authorAndrea Adami <andrea.adami@gmail.com>
Sat, 20 Jul 2013 23:07:39 +0000 (01:07 +0200)
committerSamuel Ortiz <sameo@linux.intel.com>
Wed, 31 Jul 2013 00:04:52 +0000 (02:04 +0200)
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>
include/linux/mfd/ucb1x00.h

index 28af417..88f90cb 100644 (file)
@@ -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>