mfd: mcp: Add missing linux/device.h header
authorAndrea Adami <andrea.adami@gmail.com>
Sat, 20 Jul 2013 23:07:42 +0000 (01:07 +0200)
committerSamuel Ortiz <sameo@linux.intel.com>
Wed, 31 Jul 2013 00:04:47 +0000 (02:04 +0200)
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>
include/linux/mfd/mcp.h

index a9e8bd1..f682953 100644 (file)
@@ -10,6 +10,8 @@
 #ifndef MCP_H
 #define MCP_H
 
+#include <linux/device.h>
+
 struct mcp_ops;
 
 struct mcp {