Skip to contentSkip to conversation

regulator: bd718x7: add missing linux/of.h inclusion (deja-vu)

PATCH New Matti Vaittinen 1 participant 1 message Oct 29, 2018

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 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.

---
 drivers/regulator/bd718x7-regulator.c | 1 +
 1 file changed, 1 insertion(+)
drivers/regulator/bd718x7-regulator.c +1 -0
index 3a47e0372e77..7ba14dae5848 100644
@@ -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>
Signature · 8 lines
2.14.3


-- 
Matti Vaittinen
ROHM Semiconductors

~~~ "I don't think so," said Rene Descartes.  Just then, he vanished ~~~