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>
|
||
|---|---|---|
| .. | ||
| Kconfig | ||
| Makefile | ||
| rcar-dmac.c | ||
| rcar-hpbdma.c | ||
| shdma-arm.h | ||
| shdma-base.c | ||
| shdma-of.c | ||
| shdma-r8a73a4.c | ||
| shdma.h | ||
| shdmac.c | ||
| sudmac.c | ||
| usb-dmac.c | ||