2013-10-18 10:42:59

by Sachin Kamat

[permalink] [raw]
Subject: [PATCH 1/1] mfd: max77693: Include linux/of.h header

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

Signed-off-by: Sachin Kamat <[email protected]>
Cc: SangYoung, Son <[email protected]>
---
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


2013-10-18 12:48:43

by Lee Jones

[permalink] [raw]
Subject: Re: [PATCH 1/1] mfd: max77693: Include linux/of.h header

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 <[email protected]>
> Cc: SangYoung, Son <[email protected]>
> ---
> 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