dmaengine: at_xdmac: fix compilation warning
authorClaudiu Beznea <claudiu.beznea@microchip.com>
Mon, 25 Oct 2021 07:40:02 +0000 (10:40 +0300)
committerVinod Koul <vkoul@kernel.org>
Thu, 28 Oct 2021 17:22:15 +0000 (22:52 +0530)
commitd191a9abc02f1f59bfb3b2349d30cb5534dc0fd9
treefa02f2b94418919446e0fe96aa00a3f35123e70b
parent2f23355e96b4a5896de2032176197fa0c5c444dd
dmaengine: at_xdmac: fix compilation warning

Fixed "unused variable 'atmel_xdmac_dev_pm_ops'" compilation warning
when CONFIG_PM is not defined.

Fixes: 8e0c7e486014 ("dmaengine: at_xdmac: use pm_ptr()")
Reported-by: kernel test robot <lkp@intel.com>
Signed-off-by: Claudiu Beznea <claudiu.beznea@microchip.com>
Reviewed-by: Tudor Ambarus <tudor.ambarus@microchip.com>
Link: https://lore.kernel.org/r/20211025074002.722504-1-claudiu.beznea@microchip.com
Signed-off-by: Vinod Koul <vkoul@kernel.org>
drivers/dma/at_xdmac.c