summaryrefslogtreecommitdiffstats
path: root/drivers/regulator/max77650-regulator.c
diff options
context:
space:
mode:
authorAxel Lin <axel.lin@ingics.com>2019-01-30 10:07:21 +0100
committerMark Brown <broonie@kernel.org>2019-01-30 16:20:05 +0100
commit5358db547813eefe539676c28eab9462269d065a (patch)
treebc0ae087cddc39d8e1f525c249e23c38cc1daeb8 /drivers/regulator/max77650-regulator.c
parentdt-bindings: regulator: add DT bindings for max77650 (diff)
downloadlinux-5358db547813eefe539676c28eab9462269d065a.tar.xz
linux-5358db547813eefe539676c28eab9462269d065a.zip
regulator: max77650: Fix include files
This is a platform driver, no need to include linux/i2c.h. Include linux/of.h for of_match_ptr. Signed-off-by: Axel Lin <axel.lin@ingics.com> Reviewed-by: Bartosz Golaszewski <bgolaszewski@baylibre.com> Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'drivers/regulator/max77650-regulator.c')
-rw-r--r--drivers/regulator/max77650-regulator.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/regulator/max77650-regulator.c b/drivers/regulator/max77650-regulator.c
index 474f2c02f2d5..5afb91400832 100644
--- a/drivers/regulator/max77650-regulator.c
+++ b/drivers/regulator/max77650-regulator.c
@@ -5,7 +5,7 @@
//
// Regulator driver for MAXIM 77650/77651 charger/power-supply.
-#include <linux/i2c.h>
+#include <linux/of.h>
#include <linux/mfd/max77650.h>
#include <linux/module.h>
#include <linux/platform_device.h>