Browse Source

mfd: mcp: Add missing linux/device.h header

Fixes this compilation error:
  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>
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
62480dc8b4
1 changed files with 2 additions and 0 deletions
  1. 2 0
      include/linux/mfd/mcp.h

+ 2 - 0
include/linux/mfd/mcp.h

@@ -10,6 +10,8 @@
 #ifndef MCP_H
 #define MCP_H
 
+#include <linux/device.h>
+
 struct mcp_ops;
 
 struct mcp {