diff options
author | Lee Jones <lee.jones@linaro.org> | 2020-06-23 11:08:41 +0200 |
---|---|---|
committer | Lee Jones <lee.jones@linaro.org> | 2020-07-06 09:31:54 +0200 |
commit | 3d4a87576f3762c8c986950af157bc9025808b5c (patch) | |
tree | f861cc32536e6079b7b1ed8a376560fbd344029f /drivers/mfd/sprd-sc27xx-spi.c | |
parent | mfd: altera-sysmgr: Fix physical address storing hacks (diff) | |
download | linux-3d4a87576f3762c8c986950af157bc9025808b5c.tar.xz linux-3d4a87576f3762c8c986950af157bc9025808b5c.zip |
mfd: sprd-sc27xx-spi: Fix symbol 'sprd_pmic_detect_charger_type' was not declared warning
Sparse reports:
drivers/mfd/sprd-sc27xx-spi.c:59:23: warning: symbol 'sprd_pmic_detect_charger_type' was not declared. Should it be static?
... due to a missing header file.
Cc: Orson Zhai <orsonzhai@gmail.com>
Cc: Chunyan Zhang <zhang.lyra@gmail.com>
Signed-off-by: Lee Jones <lee.jones@linaro.org>
Reviewed-by: Baolin Wang <baolin.wang7@gmail.com>
Signed-off-by: Lee Jones <lee.jones@linaro.org>
Diffstat (limited to 'drivers/mfd/sprd-sc27xx-spi.c')
-rw-r--r-- | drivers/mfd/sprd-sc27xx-spi.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/mfd/sprd-sc27xx-spi.c b/drivers/mfd/sprd-sc27xx-spi.c index d030a5da5544..d3486c2a1b33 100644 --- a/drivers/mfd/sprd-sc27xx-spi.c +++ b/drivers/mfd/sprd-sc27xx-spi.c @@ -7,6 +7,7 @@ #include <linux/kernel.h> #include <linux/module.h> #include <linux/mfd/core.h> +#include <linux/mfd/sc27xx-pmic.h> #include <linux/of_device.h> #include <linux/of_platform.h> #include <linux/regmap.h> |