Messages in this thread | | | Subject | Re: [PATCH] drivers, pch_dma: Fix warning when CONFIG_PM=n. | From | "Koul, Vinod" <> | Date | Mon, 07 Mar 2011 01:28:29 +0530 |
| |
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@gmail.com> > --- Applied, thanks
-- ~Vinod
-- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
| |