Re: [PATCH] drivers, pch_dma: Fix warning when CONFIG_PM=n.

From: Koul, Vinod
Date: Sun Mar 06 2011 - 15:26:42 EST


On Sun, 2011-03-06 at 17:26 +0600, Rakib Mullick wrote:
> 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@xxxxxxxxx>
> ---
Applied, thanks

--
~Vinod

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/