Re: [PATCH] accel/ivpu: avoid build failure with CONFIG_PM=n

2023-10-29 Thread Stanislaw Gruszka
On Fri, Oct 27, 2023 at 05:26:23PM +0200, Arnd Bergmann wrote: > From: Arnd Bergmann > > The usage count of struct dev_pm_info is an implementation detail that > is only available if CONFIG_PM is enabled, so printing it in a debug message > causes a build failure in configurations without PM: >

[PATCH] accel/ivpu: avoid build failure with CONFIG_PM=n

2023-10-27 Thread Arnd Bergmann
From: Arnd Bergmann The usage count of struct dev_pm_info is an implementation detail that is only available if CONFIG_PM is enabled, so printing it in a debug message causes a build failure in configurations without PM: In file included from include/linux/device.h:15, from incl