Commit 568f2423 authored by Sergio Paracuellos's avatar Sergio Paracuellos Committed by Greg Kroah-Hartman

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: default avatarSergio Paracuellos <sergio.paracuellos@gmail.com>
Reviewed-by: default avatarNeilBrown <neil@brown.name>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 81ca7c49
......@@ -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);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment