mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-09-29 13:53:33 +00:00
soc: mediatek: mtk-svs: Drop of_match_ptr() for of_match_table
If CONFIG_OF is not set, we get a -Wunused-const-variable: dropping
of_match_ptr() solves that issue.
Fixes: 681a02e950
("soc: mediatek: SVS: introduce MTK SVS engine")
Signed-off-by: AngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com>
Link: https://lore.kernel.org/r/20220726141653.177948-5-angelogioacchino.delregno@collabora.com
Signed-off-by: Matthias Brugger <matthias.bgg@gmail.com>
This commit is contained in:
parent
93cd9b3e60
commit
1cd80c0678
1 changed files with 1 additions and 1 deletions
|
@ -2389,7 +2389,7 @@ static struct platform_driver svs_driver = {
|
|||
.driver = {
|
||||
.name = "mtk-svs",
|
||||
.pm = &svs_pm_ops,
|
||||
.of_match_table = of_match_ptr(svs_of_match),
|
||||
.of_match_table = svs_of_match,
|
||||
},
|
||||
};
|
||||
|
||||
|
|
Loading…
Reference in a new issue