[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <50869779-9a58-4248-a189-e51bf806695e@gmail.com>
Date: Wed, 8 Apr 2020 23:56:37 +0300
From: Dmitry Osipenko <digetx@...il.com>
To: Arnd Bergmann <arnd@...db.de>, soc@...nel.org,
Thierry Reding <thierry.reding@...il.com>,
Jonathan Hunter <jonathanh@...dia.com>,
Daniel Lezcano <daniel.lezcano@...aro.org>,
Peter De Schrijver <pdeschrijver@...dia.com>
Cc: Thierry Reding <treding@...dia.com>,
Venkat Reddy Talla <vreddytalla@...dia.com>,
linux-tegra@...r.kernel.org, linux-kernel@...r.kernel.org
Subject: Re: [PATCH] soc: tegra: fix tegra_pmc_get_suspend_mode definition
08.04.2020 22:01, Arnd Bergmann пишет:
> When CONFIG_PM_SLEEP is disabled, the function is not defined,
> causing a link failure:
>
> arm-linux-gnueabi-ld: drivers/cpuidle/cpuidle-tegra.o: in function `tegra_cpuidle_probe':
> cpuidle-tegra.c:(.text+0x24): undefined reference to `tegra_pmc_get_suspend_mode'
>
> Change the #ifdef check according to the definition.
>
> Fixes: 382ac8e22b90 ("cpuidle: tegra: Disable CC6 state if LP2 unavailable")
> Signed-off-by: Arnd Bergmann <arnd@...db.de>
> ---
Reviewed-by: Dmitry Osipenko <digetx@...il.com>
Powered by blists - more mailing lists