[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20191101095008.GB1167505@ulmo>
Date: Fri, 1 Nov 2019 10:50:08 +0100
From: Thierry Reding <thierry.reding@...il.com>
To: YueHaibing <yuehaibing@...wei.com>
Cc: pdeschrijver@...dia.com, pgaikwad@...dia.com,
mturquette@...libre.com, sboyd@...nel.org, treding@...dia.com,
jonathanh@...dia.com, skomatineni@...dia.com, digetx@...il.com,
linux-clk@...r.kernel.org, linux-tegra@...r.kernel.org,
linux-kernel@...r.kernel.org
Subject: Re: [PATCH -next] clk: tegra: Fix build error without CONFIG_PM_SLEEP
On Wed, Oct 30, 2019 at 08:56:50PM +0800, YueHaibing wrote:
> If CONFIG_PM_SLEEP is n, build fails:
>
> drivers/clk/tegra/clk-tegra210.c:3426:13: error:
> tegra210_clk_suspend undeclared here (not in a function); did you mean tegra_clk_ndspeed?
> .suspend = tegra210_clk_suspend,
> ^~~~~~~~~~~~~~~~~~~~
> tegra_clk_ndspeed
> drivers/clk/tegra/clk-tegra210.c:3427:12: error:
> tegra210_clk_resume undeclared here (not in a function); did you mean tegra210_clk_suspend?
> .resume = tegra210_clk_resume,
>
> Use ifdef to guard this.
>
> Reported-by: Hulk Robot <hulkci@...wei.com>
> Fixes: 27d10d548c04 ("clk: tegra: Add suspend and resume support on Tegra210")
> Signed-off-by: YueHaibing <yuehaibing@...wei.com>
> ---
> drivers/clk/tegra/clk-tegra210.c | 2 ++
> 1 file changed, 2 insertions(+)
Applied to for-5.5/clk, thanks.
Thierry
Download attachment "signature.asc" of type "application/pgp-signature" (834 bytes)
Powered by blists - more mailing lists