[<prev] [next>] [day] [month] [year] [list]
Message-ID: <20181029121630.GA11183@localhost.localdomain>
Date:   Mon, 29 Oct 2018 14:16:30 +0200
From:   Matti Vaittinen <matti.vaittinen@...rohmeurope.com>
To:     lgirdwood@...il.com, broonie@...nel.org, mazziesaccount@...il.com
Cc:     linux-kernel@...r.kernel.org
Subject: [PATCH] regulator: bd718x7: add missing linux/of.h inclusion
 (deja-vu)
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>
At some point this fix was lost. So re-apply it.
Signed-off-by: Matti Vaittinen <matti.vaittinen@...rohmeurope.com>
---
 drivers/regulator/bd718x7-regulator.c | 1 +
 1 file changed, 1 insertion(+)
diff --git a/drivers/regulator/bd718x7-regulator.c b/drivers/regulator/bd718x7-regulator.c
index 3a47e0372e77..7ba14dae5848 100644
--- a/drivers/regulator/bd718x7-regulator.c
+++ b/drivers/regulator/bd718x7-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
-- 
Matti Vaittinen
ROHM Semiconductors
~~~ "I don't think so," said Rene Descartes.  Just then, he vanished ~~~
Powered by blists - more mailing lists