Re: [PATCH] drivers/soc/mediatek: mark svs_resume and svs_suspend as maybe unused

From: AngeloGioacchino Del Regno
Date: Wed Jun 29 2022 - 04:28:29 EST


Il 28/06/22 14:13, Max Filippov ha scritto:
This fixes the following build errors on platforms without hibernation
support in linux-next:

drivers/soc/mediatek/mtk-svs.c:1515:12: error: ‘svs_resume’ defined but not used [-Werror=unused-function]
drivers/soc/mediatek/mtk-svs.c:1481:12: error: ‘svs_suspend’ defined but not used [-Werror=unused-function]

Fixes: 681a02e95000 ("soc: mediatek: SVS: introduce MTK SVS engine")
Signed-off-by: Max Filippov <jcmvbkbc@xxxxxxxxx>

Hello Max,

This is not the right solution... and besides, there's something else in the works;
check here:

https://patchwork.kernel.org/project/linux-mediatek/patch/20220623030931.2816013-1-jinxiaoyun2@xxxxxxxxxx/

Regards,
Angelo