diff options
author | 2018-09-19 10:14:00 +0300 | |
---|---|---|
committer | 2018-09-19 10:34:48 -0700 | |
commit | df43519eb706edfe951284a825642ce2e1d38d09 (patch) | |
tree | d9d6b3fcbcd0cae44b6e0b259b9bcb8d211e2eef /drivers/regulator | |
parent | regulator: fixed: Convert to use GPIO descriptor only (diff) | |
download | linux-df43519eb706edfe951284a825642ce2e1d38d09.tar.gz linux-df43519eb706edfe951284a825642ce2e1d38d09.tar.bz2 linux-df43519eb706edfe951284a825642ce2e1d38d09.zip |
regulator: bd718x7: add missing linux/of.h inclusion
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>
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'drivers/regulator')
-rw-r--r-- | drivers/regulator/bd71837-regulator.c | 1 |
1 files changed, 1 insertions, 0 deletions
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> |