aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpio/gpio-pmic-eic-sprd.c
diff options
context:
space:
mode:
authorBaolin Wang <baolin.wang@linaro.org>2019-02-19 10:29:58 +0800
committerLinus Walleij <linus.walleij@linaro.org>2019-02-21 13:18:49 +0100
commit567cbf07caf2083a413f7ddf07970b04cc3b38da (patch)
treea54b6fc3be1faff404f8cb9d4a6ccce87dd40a4e /drivers/gpio/gpio-pmic-eic-sprd.c
parentgpio: sprd: Use SoC compatible string instead of wildcard string (diff)
downloadlinux-dev-567cbf07caf2083a413f7ddf07970b04cc3b38da.tar.xz
linux-dev-567cbf07caf2083a413f7ddf07970b04cc3b38da.zip
gpio: sprd: Change to use SoC compatible string
Change to use SoC compatible string instead of wildcard string. The Spreadtrum SC9860 platform device trees and drivers' development are still in progress, and now we will always recompile and ship device trees at the same time as we will compile and ship the kernel, so we do not need care about the backwards compatibility. Signed-off-by: Baolin Wang <baolin.wang@linaro.org> Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Diffstat (limited to 'drivers/gpio/gpio-pmic-eic-sprd.c')
-rw-r--r--drivers/gpio/gpio-pmic-eic-sprd.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpio/gpio-pmic-eic-sprd.c b/drivers/gpio/gpio-pmic-eic-sprd.c
index ac573da040bb..24228cf79afc 100644
--- a/drivers/gpio/gpio-pmic-eic-sprd.c
+++ b/drivers/gpio/gpio-pmic-eic-sprd.c
@@ -364,7 +364,7 @@ static int sprd_pmic_eic_probe(struct platform_device *pdev)
}
static const struct of_device_id sprd_pmic_eic_of_match[] = {
- { .compatible = "sprd,sc27xx-eic", },
+ { .compatible = "sprd,sc2731-eic", },
{ /* end of list */ }
};
MODULE_DEVICE_TABLE(of, sprd_pmic_eic_of_match);