[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20200323063014.GG72691@vkoul-mobl>
Date: Mon, 23 Mar 2020 12:00:14 +0530
From: Vinod Koul <vkoul@...nel.org>
To: YueHaibing <yuehaibing@...wei.com>
Cc: ldewangan@...dia.com, jonathanh@...dia.com,
dan.j.williams@...el.com, thierry.reding@...il.com,
swarren@...dotorg.org, dmaengine@...r.kernel.org,
linux-tegra@...r.kernel.org, linux-kernel@...r.kernel.org,
digetx@...il.com
Subject: Re: [PATCH -next] dmaengine: tegra-apb: mark PM functions as
__maybe_unused
On 20-03-20, 15:13, YueHaibing wrote:
> When CONFIG_PM is disabled, gcc warning this:
>
> drivers/dma/tegra20-apb-dma.c:1587:12: warning: 'tegra_dma_runtime_resume' defined but not used [-Wunused-function]
> drivers/dma/tegra20-apb-dma.c:1578:12: warning: 'tegra_dma_runtime_suspend' defined but not used [-Wunused-function]
>
> Make it as __maybe_unused to fix the warnings,
> also remove unneeded function declarations.
Applied, thanks
--
~Vinod
Powered by blists - more mailing lists