summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBaolin Wang <baolin.wang@linaro.org>2019-02-19 03:29:58 +0100
committerLinus Walleij <linus.walleij@linaro.org>2019-02-21 13:18:49 +0100
commit567cbf07caf2083a413f7ddf07970b04cc3b38da (patch)
treea54b6fc3be1faff404f8cb9d4a6ccce87dd40a4e
parentgpio: sprd: Use SoC compatible string instead of wildcard string (diff)
downloadlinux-567cbf07caf2083a413f7ddf07970b04cc3b38da.tar.xz
linux-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>
-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);