mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH 1/1] mfd: max77693: Include linux/of.h header
@ 2013-10-18 10:41 Sachin Kamat
  2013-10-18 12:48 ` Lee Jones
  0 siblings, 1 reply; 2+ messages in thread
From: Sachin Kamat @ 2013-10-18 10:41 UTC (permalink / raw)
  To: linux-kernel; +Cc: lee.jones, sachin.kamat, SangYoung, Son

'of_match_ptr' is defined in linux/of.h. Include it explicitly to
avoid build breakage in the future.

Signed-off-by: Sachin Kamat <sachin.kamat@linaro.org>
Cc: SangYoung, Son <hello.son@samsung.com>
---
 drivers/mfd/max77693.c |    1 +
 1 file changed, 1 insertion(+)

diff --git a/drivers/mfd/max77693.c b/drivers/mfd/max77693.c
index 4d81ed2..9f92463 100644
--- a/drivers/mfd/max77693.c
+++ b/drivers/mfd/max77693.c
@@ -28,6 +28,7 @@
 #include <linux/i2c.h>
 #include <linux/err.h>
 #include <linux/interrupt.h>
+#include <linux/of.h>
 #include <linux/pm_runtime.h>
 #include <linux/mutex.h>
 #include <linux/mfd/core.h>
-- 
1.7.9.5


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

* Re: [PATCH 1/1] mfd: max77693: Include linux/of.h header
  2013-10-18 10:41 [PATCH 1/1] mfd: max77693: Include linux/of.h header Sachin Kamat
@ 2013-10-18 12:48 ` Lee Jones
  0 siblings, 0 replies; 2+ messages in thread
From: Lee Jones @ 2013-10-18 12:48 UTC (permalink / raw)
  To: Sachin Kamat; +Cc: linux-kernel, SangYoung, Son

On Fri, 18 Oct 2013, Sachin Kamat wrote:

> 'of_match_ptr' is defined in linux/of.h. Include it explicitly to
> avoid build breakage in the future.
> 
> Signed-off-by: Sachin Kamat <sachin.kamat@linaro.org>
> Cc: SangYoung, Son <hello.son@samsung.com>
> ---
>  drivers/mfd/max77693.c |    1 +
>  1 file changed, 1 insertion(+)

Applied, thanks.

-- 
Lee Jones
Linaro STMicroelectronics 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-10-18 12:48 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-10-18 10:41 [PATCH 1/1] mfd: max77693: Include linux/of.h header Sachin Kamat
2013-10-18 12:48 ` Lee Jones

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®