Commit 1cd80c06 authored by AngeloGioacchino Del Regno's avatar AngeloGioacchino Del Regno Committed by Matthias Brugger
Browse files

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: 681a02e9 ("soc: mediatek: SVS: introduce MTK SVS engine")
Signed-off-by: default avatarAngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com>
Link: https://lore.kernel.org/r/20220726141653.177948-5-angelogioacchino.delregno@collabora.com


Signed-off-by: default avatarMatthias Brugger <matthias.bgg@gmail.com>
parent 93cd9b3e
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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,
	},
};