summaryrefslogtreecommitdiffstats
path: root/drivers/regulator
diff options
context:
space:
mode:
authorMatti Vaittinen <matti.vaittinen@fi.rohmeurope.com>2018-10-29 14:16:30 +0200
committerMark Brown <broonie@kernel.org>2018-11-08 12:21:17 +0000
commit9cce72448364675ed5d4c793cf546023c003fdd6 (patch)
tree6adf7d049ff916dba94da87ef41e9e657ea267c8 /drivers/regulator
parentd8b2a8e9c06bc389659716e81d1c2b1f147611d1 (diff)
downloadlinux-0-day-9cce72448364675ed5d4c793cf546023c003fdd6.tar.gz
linux-0-day-9cce72448364675ed5d4c793cf546023c003fdd6.tar.xz
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@fi.rohmeurope.com> Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'drivers/regulator')
-rw-r--r--drivers/regulator/bd718x7-regulator.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/regulator/bd718x7-regulator.c b/drivers/regulator/bd718x7-regulator.c
index 3a47e0372e77c..7ba14dae5848d 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>