All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] regulator: bd718x7: add missing linux/of.h inclusion
@ 2018-09-19  7:14 Matti Vaittinen
  2018-10-29  9:40 ` Matti Vaittinen
  0 siblings, 1 reply; 3+ messages in thread
From: Matti Vaittinen @ 2018-09-19  7:14 UTC (permalink / raw)
  To: matti.vaittinen, mazziesaccount, lgirdwood, broonie; +Cc: linux-kernel

0-Day tests found compilation error on x86. Driver won't
compile on x86_64 as "of_match_ptr" is not found. Add missing
include <linux/of.h>

Signed-off-by: Matti Vaittinen <matti.vaittinen@fi.rohmeurope.com>
---
 drivers/regulator/bd71837-regulator.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/drivers/regulator/bd71837-regulator.c b/drivers/regulator/bd71837-regulator.c
index 9b5e1297902f..4fe519581235 100644
--- a/drivers/regulator/bd71837-regulator.c
+++ b/drivers/regulator/bd71837-regulator.c
@@ -9,6 +9,7 @@
 #include <linux/kernel.h>
 #include <linux/mfd/rohm-bd718x7.h>
 #include <linux/module.h>
+#include <linux/of.h>
 #include <linux/platform_device.h>
 #include <linux/regulator/driver.h>
 #include <linux/regulator/machine.h>
-- 
2.14.3


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

end of thread, other threads:[~2018-10-29  9:46 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-09-19  7:14 [PATCH] regulator: bd718x7: add missing linux/of.h inclusion Matti Vaittinen
2018-10-29  9:40 ` Matti Vaittinen
2018-10-29  9:46   ` Mark Brown

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.