lkml.org 
[lkml]   [2011]   [Mar]   [6]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: [PATCH] drivers, pch_dma: Fix warning when CONFIG_PM=n.
From
Date
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/

\
 
 \ /
  Last update: 2011-03-06 21:29    [W:0.033 / U:0.368 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site