LKML Archive on lore.kernel.org
help / color / mirror / Atom feed
* [PATCH] regulator: tps65910: Add missing #include <linux/of.h>
@ 2015-03-15 13:03 Geert Uytterhoeven
  2015-03-16 11:41 ` Mark Brown
  0 siblings, 1 reply; 2+ messages in thread
From: Geert Uytterhoeven @ 2015-03-15 13:03 UTC (permalink / raw)
  To: Tony Lindgren, Liam Girdwood, Mark Brown
  Cc: linux-omap, linux-kernel, Geert Uytterhoeven

drivers/regulator/tps65910-regulator.c: In function ‘tps65910_parse_dt_reg_data’:
drivers/regulator/tps65910-regulator.c:1018: error: implicit declaration of function ‘of_get_child_by_name’
drivers/regulator/tps65910-regulator.c:1018: warning: assignment makes pointer from integer without a cast
drivers/regulator/tps65910-regulator.c:1034: error: implicit declaration of function ‘of_node_put’
drivers/regulator/tps65910-regulator.c:1056: error: implicit declaration of function ‘of_property_read_u32’

Signed-off-by: Geert Uytterhoeven <geert@linux-m68k.org>
---
 drivers/regulator/tps65910-regulator.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/drivers/regulator/tps65910-regulator.c b/drivers/regulator/tps65910-regulator.c
index e2cffe01b8072263..fb991ec764235d55 100644
--- a/drivers/regulator/tps65910-regulator.c
+++ b/drivers/regulator/tps65910-regulator.c
@@ -17,6 +17,7 @@
 #include <linux/module.h>
 #include <linux/init.h>
 #include <linux/err.h>
+#include <linux/of.h>
 #include <linux/platform_device.h>
 #include <linux/regulator/driver.h>
 #include <linux/regulator/machine.h>
-- 
1.9.1


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

* Re: [PATCH] regulator: tps65910: Add missing #include <linux/of.h>
  2015-03-15 13:03 [PATCH] regulator: tps65910: Add missing #include <linux/of.h> Geert Uytterhoeven
@ 2015-03-16 11:41 ` Mark Brown
  0 siblings, 0 replies; 2+ messages in thread
From: Mark Brown @ 2015-03-16 11:41 UTC (permalink / raw)
  To: Geert Uytterhoeven; +Cc: Tony Lindgren, Liam Girdwood, linux-omap, linux-kernel

[-- Attachment #1: Type: text/plain, Size: 293 bytes --]

On Sun, Mar 15, 2015 at 02:03:50PM +0100, Geert Uytterhoeven wrote:
> drivers/regulator/tps65910-regulator.c: In function ‘tps65910_parse_dt_reg_data’:
> drivers/regulator/tps65910-regulator.c:1018: error: implicit declaration of function ‘of_get_child_by_name’

Applied, thanks.

[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 473 bytes --]

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

end of thread, other threads:[~2015-03-16 11:41 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-03-15 13:03 [PATCH] regulator: tps65910: Add missing #include <linux/of.h> Geert Uytterhoeven
2015-03-16 11:41 ` Mark Brown

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).