diff options
author | Sean Wang <sean.wang@mediatek.com> | 2017-05-01 15:54:34 +0800 |
---|---|---|
committer | Linus Walleij <linus.walleij@linaro.org> | 2017-05-22 10:39:25 +0200 |
commit | ceba43834d1059b460cd05f92eff08c3fe5627f4 (patch) | |
tree | f9e2b548cce3c9f5af03fb99c2e028d356dd0951 /drivers/pinctrl/mediatek/pinctrl-mt2701.c | |
parent | c21b4327426ee914a1b5a4cd46ca36f2119888d3 (diff) |
pinctrl: mediatek: reuse pinctrl driver for mt7623
mt7623 pinctrl hardware can be compatible with mt2701 driver,
so the patch lets the pinctrl on mt7623 SoC reuse the driver
and deletes those redundant ones.
Signed-off-by: Sean Wang <sean.wang@mediatek.com>
Acked-by: John Crispin <john@phrozen.org>
Reviewed-by: Matthias Brugger <matthias.bgg@gmail.com>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Diffstat (limited to 'drivers/pinctrl/mediatek/pinctrl-mt2701.c')
-rw-r--r-- | drivers/pinctrl/mediatek/pinctrl-mt2701.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/pinctrl/mediatek/pinctrl-mt2701.c b/drivers/pinctrl/mediatek/pinctrl-mt2701.c index 8d802fa7decd..f86f3b379607 100644 --- a/drivers/pinctrl/mediatek/pinctrl-mt2701.c +++ b/drivers/pinctrl/mediatek/pinctrl-mt2701.c @@ -565,6 +565,7 @@ static int mt2701_pinctrl_probe(struct platform_device *pdev) static const struct of_device_id mt2701_pctrl_match[] = { { .compatible = "mediatek,mt2701-pinctrl", }, + { .compatible = "mediatek,mt7623-pinctrl", }, {} }; MODULE_DEVICE_TABLE(of, mt2701_pctrl_match); |