linux-gpio.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 1/2] gpio: lpc32xx: Include linux/of.h header
@ 2013-10-16 10:05 Sachin Kamat
  2013-10-16 10:05 ` [PATCH 2/2] gpio: rcar: " Sachin Kamat
  2013-10-16 11:09 ` [PATCH 1/2] gpio: lpc32xx: " Linus Walleij
  0 siblings, 2 replies; 4+ messages in thread
From: Sachin Kamat @ 2013-10-16 10:05 UTC (permalink / raw)
  To: linux-gpio; +Cc: linus.walleij, sachin.kamat

'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>
---
 drivers/gpio/gpio-lpc32xx.c |    1 +
 1 file changed, 1 insertion(+)

diff --git a/drivers/gpio/gpio-lpc32xx.c b/drivers/gpio/gpio-lpc32xx.c
index 90a80eb..2d5555d 100644
--- a/drivers/gpio/gpio-lpc32xx.c
+++ b/drivers/gpio/gpio-lpc32xx.c
@@ -21,6 +21,7 @@
 #include <linux/io.h>
 #include <linux/errno.h>
 #include <linux/gpio.h>
+#include <linux/of.h>
 #include <linux/of_gpio.h>
 #include <linux/platform_device.h>
 #include <linux/module.h>
-- 
1.7.9.5


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

* [PATCH 2/2] gpio: rcar: Include linux/of.h header
  2013-10-16 10:05 [PATCH 1/2] gpio: lpc32xx: Include linux/of.h header Sachin Kamat
@ 2013-10-16 10:05 ` Sachin Kamat
  2013-10-16 11:10   ` Linus Walleij
  2013-10-16 11:09 ` [PATCH 1/2] gpio: lpc32xx: " Linus Walleij
  1 sibling, 1 reply; 4+ messages in thread
From: Sachin Kamat @ 2013-10-16 10:05 UTC (permalink / raw)
  To: linux-gpio; +Cc: linus.walleij, sachin.kamat

'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>
---
 drivers/gpio/gpio-rcar.c |    1 +
 1 file changed, 1 insertion(+)

diff --git a/drivers/gpio/gpio-rcar.c b/drivers/gpio/gpio-rcar.c
index 6038966..9b04799 100644
--- a/drivers/gpio/gpio-rcar.c
+++ b/drivers/gpio/gpio-rcar.c
@@ -22,6 +22,7 @@
 #include <linux/irq.h>
 #include <linux/irqdomain.h>
 #include <linux/module.h>
+#include <linux/of.h>
 #include <linux/pinctrl/consumer.h>
 #include <linux/platform_data/gpio-rcar.h>
 #include <linux/platform_device.h>
-- 
1.7.9.5


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

* Re: [PATCH 1/2] gpio: lpc32xx: Include linux/of.h header
  2013-10-16 10:05 [PATCH 1/2] gpio: lpc32xx: Include linux/of.h header Sachin Kamat
  2013-10-16 10:05 ` [PATCH 2/2] gpio: rcar: " Sachin Kamat
@ 2013-10-16 11:09 ` Linus Walleij
  1 sibling, 0 replies; 4+ messages in thread
From: Linus Walleij @ 2013-10-16 11:09 UTC (permalink / raw)
  To: Sachin Kamat; +Cc: linux-gpio@vger.kernel.org

On Wed, Oct 16, 2013 at 12:05 PM, Sachin Kamat <sachin.kamat@linaro.org> 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>

Patch applied.

Yours,
Linus Walleij

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

* Re: [PATCH 2/2] gpio: rcar: Include linux/of.h header
  2013-10-16 10:05 ` [PATCH 2/2] gpio: rcar: " Sachin Kamat
@ 2013-10-16 11:10   ` Linus Walleij
  0 siblings, 0 replies; 4+ messages in thread
From: Linus Walleij @ 2013-10-16 11:10 UTC (permalink / raw)
  To: Sachin Kamat; +Cc: linux-gpio@vger.kernel.org

On Wed, Oct 16, 2013 at 12:05 PM, Sachin Kamat <sachin.kamat@linaro.org> 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>

Patch applied.

Yours,
Linus Walleij

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

end of thread, other threads:[~2013-10-16 11:10 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-10-16 10:05 [PATCH 1/2] gpio: lpc32xx: Include linux/of.h header Sachin Kamat
2013-10-16 10:05 ` [PATCH 2/2] gpio: rcar: " Sachin Kamat
2013-10-16 11:10   ` Linus Walleij
2013-10-16 11:09 ` [PATCH 1/2] gpio: lpc32xx: " Linus Walleij

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).