diff options
author | Matti Vaittinen <matti.vaittinen@fi.rohmeurope.com> | 2018-10-29 14:16:30 +0200 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2018-11-08 12:21:17 +0000 |
commit | 9cce72448364675ed5d4c793cf546023c003fdd6 (patch) | |
tree | 6adf7d049ff916dba94da87ef41e9e657ea267c8 /drivers/regulator | |
parent | d8b2a8e9c06bc389659716e81d1c2b1f147611d1 (diff) |
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.c | 1 |
1 files changed, 1 insertions, 0 deletions
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> |