[PATCH RESEND] dmaengine: bcm2835-dma: fix warning when CONFIG_PM=n

Florian Fainelli florian.fainelli at broadcom.com
Mon Feb 24 10:28:02 PST 2025



On 2/22/2025 1:50 AM, Stefan Wahren wrote:
> The old SET_LATE_SYSTEM_SLEEP_PM_OPS macro cause a build warning
> when CONFIG_PM is disabled:
> 
> warning: 'bcm2835_dma_suspend_late' defined but not used [-Wunused-function]
> 
> Change this to the modern replacement.
> 
> Reported-by: kernel test robot <lkp at intel.com>
> Closes: https://lore.kernel.org/oe-kbuild-all/202501071533.yrFb156H-lkp@intel.com/
> Signed-off-by: Stefan Wahren <wahrenst at gmx.net>

Reviewed-by: Florian Fainelli <florian.fainelli at broadcom.com>
-- 
Florian




More information about the linux-arm-kernel mailing list