lkml.org 
[lkml]   [2021]   [Oct]   [26]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH] dmaengine: sa11x0: Mark PM functions as __maybe_unused
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

\
 
 \ /
  Last update: 2021-10-26 06:23    [W:3.954 / U:0.032 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site