pinctrl: mediatek: mt8186: Account for probe refactoring
The new MT8186 drive came in and the probe calls were refactored at the same time. Fix it up. Fixes a build issue. Cc: Guodong Liu <guodong.liu@mediatek.com> Cc: AngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com> Reported-by: kernel test robot <lkp@intel.com> Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
This commit is contained in:
parent
156f721704
commit
042a6362ce
1 changed files with 2 additions and 6 deletions
|
@ -1246,13 +1246,9 @@ static const struct mtk_pin_soc mt8186_data = {
|
||||||
};
|
};
|
||||||
|
|
||||||
static const struct of_device_id mt8186_pinctrl_of_match[] = {
|
static const struct of_device_id mt8186_pinctrl_of_match[] = {
|
||||||
{ .compatible = "mediatek,mt8186-pinctrl", },
|
{ .compatible = "mediatek,mt8186-pinctrl", .data = &mt8186_data },
|
||||||
{ }
|
{ }
|
||||||
};
|
};
|
||||||
static int mt8186_pinctrl_probe(struct platform_device *pdev)
|
|
||||||
{
|
|
||||||
return mtk_paris_pinctrl_probe(pdev, &mt8186_data);
|
|
||||||
}
|
|
||||||
|
|
||||||
static struct platform_driver mt8186_pinctrl_driver = {
|
static struct platform_driver mt8186_pinctrl_driver = {
|
||||||
.driver = {
|
.driver = {
|
||||||
|
@ -1260,7 +1256,7 @@ static struct platform_driver mt8186_pinctrl_driver = {
|
||||||
.of_match_table = mt8186_pinctrl_of_match,
|
.of_match_table = mt8186_pinctrl_of_match,
|
||||||
.pm = &mtk_paris_pinctrl_pm_ops,
|
.pm = &mtk_paris_pinctrl_pm_ops,
|
||||||
},
|
},
|
||||||
.probe = mt8186_pinctrl_probe,
|
.probe = mtk_paris_pinctrl_probe,
|
||||||
};
|
};
|
||||||
|
|
||||||
static int __init mt8186_pinctrl_init(void)
|
static int __init mt8186_pinctrl_init(void)
|
||||||
|
|
Loading…
Add table
Reference in a new issue