mfd: ucb1x00: explicitely include linux/device.h
PATCH 1/1 mfd: ucb1x00: explicitely include linux/device.h
Fixlinux/include/linux/mfd/ucb1x00.h:137:17: error: field 'dev' has incomplete type
Signed-off-by Andrea Adami <[email protected]>
--- include/linux/mfd/ucb1x00.h | 1 + 1 file changed, 1 insertion(+)
include/linux/mfd/ucb1x00.h +1 -0
@@ -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
Quoted 7 lines · Andrea Adami
Fix
linux/include/linux/mfd/ucb1x00.h:137:17: error: field 'dev' has incomplete typeSigned-off-by Andrea Adami <[email protected]>--- 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