diff options
author | Rakib Mullick <rakib.mullick@gmail.com> | 2011-03-06 12:26:10 +0100 |
---|---|---|
committer | Vinod Koul <vinod.koul@intel.com> | 2011-03-06 20:56:50 +0100 |
commit | 0b863b333f529c7ddd8bee58e6696a7254417a05 (patch) | |
tree | 4f25d8bd9fa20d6d9f4b60ef8dc8675c4b2cbeaa /sound/usb/card.h | |
parent | dmaengine/dw_dmac fix: use readl & writel instead of __raw_readl & __raw_writel (diff) | |
download | linux-0b863b333f529c7ddd8bee58e6696a7254417a05.tar.xz linux-0b863b333f529c7ddd8bee58e6696a7254417a05.zip |
drivers, pch_dma: Fix warning when CONFIG_PM=n.
When CONFIG_PM=n, we get the following warning:
drivers/dma/pch_dma.c:741: warning: ‘pch_dma_suspend’ defined but not used
drivers/dma/pch_dma.c:755: warning: ‘pch_dma_resume’ defined but not used
To fix it, wrap pch_dma_{suspend,resume} and
pch_dma_{save,restore}_regs functions with CONFIG_PM.
Signed-off-by: Rakib Mullick <rakib.mullick@gmail.com>
Signed-off-by: Vinod Koul <vinod.koul@intel.com>
Diffstat (limited to 'sound/usb/card.h')
0 files changed, 0 insertions, 0 deletions