[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <1374361662-3094-1-git-send-email-andrea.adami@gmail.com>
Date: Sun, 21 Jul 2013 01:07:42 +0200
From: Andrea Adami <andrea.adami@...il.com>
To: linux-kernel@...r.kernel.org
Cc: Anton Vorontsov <cbou@...l.ru>,
Russell King <linux@....linux.org.uk>
Subject: [PATCH] mfd: mcp: add missing linux/device.h header
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@...il.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
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists