diff options
author | Sergio Paracuellos <sergio.paracuellos@gmail.com> | 2018-05-20 15:00:20 +0200 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2018-05-25 18:49:32 +0200 |
commit | 568f24236b92374e5fc957060905d39f0d0e2b62 (patch) | |
tree | a04f9bb7a05e0bc7e0b21f16d0d65500a941da33 /drivers/staging | |
parent | 81ca7c496f99753338f692c8dfc40bcff628edaa (diff) |
staging: mt7621-gpio: replace 'mtk' to use correct one 'mediatek'
Gpio driver is using mtk and there is already 'mediatek' binding
defined for this maker. Update driver to use it instead the custom
one 'mtk'.
Signed-off-by: Sergio Paracuellos <sergio.paracuellos@gmail.com>
Reviewed-by: NeilBrown <neil@brown.name>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/staging')
-rw-r--r-- | drivers/staging/mt7621-gpio/gpio-mt7621.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/staging/mt7621-gpio/gpio-mt7621.c b/drivers/staging/mt7621-gpio/gpio-mt7621.c index a57738125b0c..7d179492d8af 100644 --- a/drivers/staging/mt7621-gpio/gpio-mt7621.c +++ b/drivers/staging/mt7621-gpio/gpio-mt7621.c @@ -323,7 +323,7 @@ mediatek_gpio_probe(struct platform_device *pdev) } for_each_child_of_node(np, bank) - if (of_device_is_compatible(bank, "mtk,mt7621-gpio-bank")) + if (of_device_is_compatible(bank, "mediatek,mt7621-gpio-bank")) mediatek_gpio_bank_probe(pdev, bank); if (mediatek_gpio_irq_domain) @@ -334,7 +334,7 @@ mediatek_gpio_probe(struct platform_device *pdev) } static const struct of_device_id mediatek_gpio_match[] = { - { .compatible = "mtk,mt7621-gpio" }, + { .compatible = "mediatek,mt7621-gpio" }, {}, }; MODULE_DEVICE_TABLE(of, mediatek_gpio_match); |