Re: [PATCH] media: nxp: ignore unused suspend operations
From: Arnd Bergmann
Date: Tue Apr 18 2023 - 04:10:20 EST
On Tue, Apr 18, 2023, at 10:04, Hans Verkuil wrote:
> On 18/04/2023 09:15, Arnd Bergmann wrote:
>> From: Arnd Bergmann <arnd@xxxxxxxx>
>>
>> gcc warns about some functions being unused when CONFIG_PM is
>> disabled:
>
> ???
>
> The Kconfig has a:
>
> depends on HAS_DMA && PM
>
> So how can this be compiled with CONFIG_PM not set?
>
> Am I missing something?
My mistake, the warning only shows up when CONFIG_PM_SLEEP is
disabled.
Arnd