OpenCloudOS-Kernel/drivers/dma/sh
Geert Uytterhoeven 8ad31bf45d dmaengine: usb-dmac: Protect PM-only functions to kill warning
If CONFIG_PM=n:

    drivers/dma/sh/usb-dmac.c:677: warning: ‘usb_dmac_runtime_suspend’ defined but not used
    drivers/dma/sh/usb-dmac.c:688: warning: ‘usb_dmac_runtime_resume’ defined but not used

Protect the unused functions by #ifdef CONFIG_PM to fix this.

Signed-off-by: Geert Uytterhoeven <geert@linux-m68k.org>
Signed-off-by: Vinod Koul <vinod.koul@intel.com>
2015-04-27 08:36:02 +05:30
..
Kconfig Merge branch 'topic/sh' into for-linus 2015-04-21 00:21:14 +05:30
Makefile Merge branch 'topic/sh' into for-linus 2015-04-21 00:21:14 +05:30
rcar-dmac.c dmaengine: rcar-dmac: Disable channel 0 when using IOMMU 2015-02-16 09:33:35 +05:30
rcar-hpbdma.c dmaengine: rcar-hpbdma: tidyup residue_granularity 2015-01-25 22:37:05 -08:00
shdma-arm.h dmaengine: shdma: Use defines instead of hardcoded numbers 2014-07-15 18:02:29 +09:00
shdma-base.c dmaengine: shdma: use normal interface for passing slave id 2015-02-23 16:12:24 +05:30
shdma-of.c dmaengine: Remove .owner field for driver 2014-11-06 11:54:18 +05:30
shdma-r8a73a4.c DMA: shdma: add r8a73a4 DMAC data to the device ID table 2013-08-27 14:26:21 +05:30
shdma.h dmaengine: sh: Rework Kconfig and Makefile 2014-07-31 17:15:45 +05:30
shdmac.c Merge branch 'for-linus' of git://git.infradead.org/users/vkoul/slave-dma 2015-04-24 09:49:37 -07:00
sudmac.c dmaengine: Remove .owner field for driver 2014-11-06 11:54:18 +05:30
usb-dmac.c dmaengine: usb-dmac: Protect PM-only functions to kill warning 2015-04-27 08:36:02 +05:30