Skip to content
Commit 07c609cc authored by Cai Huoqing's avatar Cai Huoqing Committed by Vinod Koul
Browse files

dmaengine: sa11x0: Mark PM functions as __maybe_unused



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

Signed-off-by: default avatarCai Huoqing <caihuoqing@baidu.com>
Link: https://lore.kernel.org/r/20211026020508.550-1-caihuoqing@baidu.com


Signed-off-by: default avatarVinod Koul <vkoul@kernel.org>
parent c726c62d
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment