Re: [PATCH] dmaengine: sa11x0: Mark PM functions as __maybe_unused

From: Vinod Koul
Date: Tue Oct 26 2021 - 00:24:35 EST


On 26-10-21, 10:05, Cai Huoqing wrote:
> Without CONFIG_PM_SLEEP, the runtime suspend/resume functions
> are unused, producing a warning:
>
> ../drivers/dma/sa11x0-dma.c:1042:12: error: 'sa11x0_dma_resume' defined but not used
> ../drivers/dma/sa11x0-dma.c:1004:12: error: 'sa11x0_dma_suspend' defined but not used

Applied, thanks

--
~Vinod