Searched hist:"8 ad31bf4" (Results 1 – 1 of 1) sorted by relevance
/openbmc/linux/drivers/dma/sh/ |
H A D | usb-dmac.c | 8ad31bf4 Sun Apr 26 04:53:54 CDT 2015 Geert Uytterhoeven <geert@linux-m68k.org> 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> 8ad31bf4 Sun Apr 26 04:53:54 CDT 2015 Geert Uytterhoeven <geert@linux-m68k.org> 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>
|