mfd: mcp: add missing linux/device.h header
PATCH 1/1 mfd: mcp: add missing linux/device.h header
Fixlinux/include/linux/mfd/mcp.h:22:16: error: field 'attached_device' has incomplete type linux/include/linux/mfd/mcp.h:48:23: error: field 'drv' has incomplete type
Signed-off-by Andrea Adami <[email protected]>
--- include/linux/mfd/mcp.h | 2 ++ 1 file changed, 2 insertions(+)
include/linux/mfd/mcp.h +2 -0
@@ -10,6 +10,8 @@#ifndef MCP_H #define MCP_H +#include <linux/device.h> +struct mcp_ops ; struct mcp {
Signature · 1 line
1.8.1.5
Quoted 8 lines · Andrea Adami
Fix
linux/include/linux/mfd/mcp.h:22:16: error: field 'attached_device' has incomplete typelinux/include/linux/mfd/mcp.h:48:23: error: field 'drv' has incomplete typeSigned-off-by Andrea Adami <[email protected]>--- include/linux/mfd/mcp.h | 2 ++ 1 file changed, 2 insertions(+)
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