[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <1299441509.6974.160.camel@vkoul-udesk3>
Date: Mon, 07 Mar 2011 01:28:29 +0530
From: "Koul, Vinod" <vinod.koul@...el.com>
To: Rakib Mullick <rakib.mullick@...il.com>
Cc: LKML <linux-kernel@...r.kernel.org>,
Andrew Morton <akpm@...ux-foundation.org>,
Dan Williams <dan.j.williams@...el.com>
Subject: Re: [PATCH] drivers, pch_dma: Fix warning when CONFIG_PM=n.
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@...il.com>
> ---
Applied, thanks
--
~Vinod
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists