Browse Source

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>
Andrea Adami 12 years ago
parent
commit
38c4faaea4
1 changed files with 1 additions and 0 deletions
  1. 1 0
      include/linux/mfd/ucb1x00.h

+ 1 - 0
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>