diff options
author | Charles Keepax <ckeepax@opensource.wolfsonmicro.com> | 2014-05-08 17:17:38 +0100 |
---|---|---|
committer | Mark Brown <broonie@linaro.org> | 2014-05-08 18:16:51 +0100 |
commit | 6f1c9c57b4e0783acca9c0fe53850f24d30785a3 (patch) | |
tree | 06ccc32ea343df226beebccc5de2a6381d47c4fd /drivers/regulator | |
parent | 2cce4be9e6b885c595816c45a80bcce95dae6d30 (diff) |
regulator: arizona-micsupp: Add missing #include
of.h is presently being included through asm-generic/gpio.h so will not
be included on some architectures, causing implicit declaration errors
for of_get_child_by_name, of_parse_phandle and of_node_put.
This patch adds the direct include that should be there.
Reported-by: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: Charles Keepax <ckeepax@opensource.wolfsonmicro.com>
Signed-off-by: Mark Brown <broonie@linaro.org>
Diffstat (limited to 'drivers/regulator')
-rw-r--r-- | drivers/regulator/arizona-micsupp.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/regulator/arizona-micsupp.c b/drivers/regulator/arizona-micsupp.c index b80ebbe88bac..ce9aca5f8ee7 100644 --- a/drivers/regulator/arizona-micsupp.c +++ b/drivers/regulator/arizona-micsupp.c @@ -16,6 +16,7 @@ #include <linux/init.h> #include <linux/bitops.h> #include <linux/err.h> +#include <linux/of.h> #include <linux/platform_device.h> #include <linux/regulator/driver.h> #include <linux/regulator/machine.h> |