Messages in this thread Patch in this message | | | From | Andrea Adami <> | Subject | [PATCH] mfd: mcp: add missing linux/device.h header | Date | Sun, 21 Jul 2013 01:07:42 +0200 |
| |
Fix linux/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 <andrea.adami@gmail.com> --- include/linux/mfd/mcp.h | 2 ++ 1 file changed, 2 insertions(+)
diff --git a/include/linux/mfd/mcp.h b/include/linux/mfd/mcp.h index a9e8bd1..f682953 100644 --- a/include/linux/mfd/mcp.h +++ b/include/linux/mfd/mcp.h @@ -10,6 +10,8 @@ #ifndef MCP_H #define MCP_H +#include <linux/device.h> + struct mcp_ops; struct mcp { -- 1.8.1.5
| |