diff options
author | Axel Lin <[email protected]> | 2019-01-30 17:07:21 +0800 |
---|---|---|
committer | Mark Brown <[email protected]> | 2019-01-30 15:20:05 +0000 |
commit | 5358db547813eefe539676c28eab9462269d065a (patch) | |
tree | bc0ae087cddc39d8e1f525c249e23c38cc1daeb8 | |
parent | 0eca80bf07eb51cf7accf44dbf71547fd0bba5dd (diff) |
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 <[email protected]>
Reviewed-by: Bartosz Golaszewski <[email protected]>
Signed-off-by: Mark Brown <[email protected]>
-rw-r--r-- | drivers/regulator/max77650-regulator.c | 2 |
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> |