summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrea Adami <andrea.adami@gmail.com>2013-07-21 01:07:42 +0200
committerSamuel Ortiz <sameo@linux.intel.com>2013-07-31 02:04:47 +0200
commit62480dc8b4bd951057c0712c8547e6c3fa12008a (patch)
tree4f42cc2604fb15645db28724278c7e448636f533
parentb5f8b7632c4fc43d42a715a1658588acc24115a9 (diff)
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>
-rw-r--r--include/linux/mfd/mcp.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/linux/mfd/mcp.h b/include/linux/mfd/mcp.h
index a9e8bd157673..f682953043ba 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 {