Skip to contentSkip to conversation

mfd: ucb1x00: explicitely include linux/device.h

PATCH In review Andrea Adami 2 participants 2 messages Jul 20, 2013 – Jul 22, 2013 Multifunction devices (MFD)

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 mfd: ucb1x00: explicitely include linux/device.h

Fix
linux/include/linux/mfd/ucb1x00.h:137:17: error: field 'dev' has incomplete type

---
 include/linux/mfd/ucb1x00.h | 1 +
 1 file changed, 1 insertion(+)
include/linux/mfd/ucb1x00.h +1 -0
index 28af417..88f90cb 100644
@@ -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>
Signature · 1 line
1.8.1.5
#1 lore raw
Quoted 7 lines · Andrea Adami

Fix
linux/include/linux/mfd/ucb1x00.h:137:17: error: field 'dev' has incomplete type

---
 include/linux/mfd/ucb1x00.h | 1 +
 1 file changed, 1 insertion(+)

I'm going to fix the commit message a little, but patch applied.

Signature · 4 lines
Lee Jones
Linaro ST-Ericsson Landing Team Lead
Linaro.org │ Open source software for ARM SoCs
Follow Linaro: Facebook | Twitter | Blog