commit | 8ad31bf45db1c4a8f400cbc10400ce9fc0bed227 | [log] [tgz] |
---|---|---|
author | Geert Uytterhoeven <geert@linux-m68k.org> | Sun Apr 26 11:53:54 2015 +0200 |
committer | Vinod Koul <vinod.koul@intel.com> | Mon Apr 27 08:36:02 2015 +0530 |
tree | 8d0a0480b704243c9e5a87134d1b26de77b69c5c | |
parent | b787f68c36d49bb1d9236f403813641efa74a031 [diff] |
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>