All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] mfd: mcp: add missing linux/device.h header
@ 2013-07-20 23:07 Andrea Adami
  2013-07-22  9:12 ` Lee Jones
  0 siblings, 1 reply; 2+ messages in thread
From: Andrea Adami @ 2013-07-20 23:07 UTC (permalink / raw)
  To: linux-kernel; +Cc: Anton Vorontsov, Russell King

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


^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH] mfd: mcp: add missing linux/device.h header
  2013-07-20 23:07 [PATCH] mfd: mcp: add missing linux/device.h header Andrea Adami
@ 2013-07-22  9:12 ` Lee Jones
  0 siblings, 0 replies; 2+ messages in thread
From: Lee Jones @ 2013-07-22  9:12 UTC (permalink / raw)
  To: Andrea Adami; +Cc: linux-kernel, Anton Vorontsov, Russell King

On Sun, 21 Jul 2013, Andrea Adami wrote:

> 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(+)

I'm going to fix the commit message a little, but patch applied.

-- 
Lee Jones
Linaro ST-Ericsson Landing Team Lead
Linaro.org │ Open source software for ARM SoCs
Follow Linaro: Facebook | Twitter | Blog

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2013-07-22  9:12 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-07-20 23:07 [PATCH] mfd: mcp: add missing linux/device.h header Andrea Adami
2013-07-22  9:12 ` Lee Jones

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.