Re: [PATCH] clk: mmp2: fix build without CONFIG_PM

2021-01-12 Thread Stephen Boyd
Quoting Arnd Bergmann (2021-01-03 05:54:53) > From: Arnd Bergmann > > pm_clk_suspend()/pm_clk_resume() are defined as NULL pointers rather than > empty inline stubs without CONFIG_PM: > > drivers/clk/mmp/clk-audio.c:402:16: error: called object type 'void *' is not > a function or function poin

Re: [PATCH] clk: mmp2: fix build without CONFIG_PM

2021-01-05 Thread Lubomir Rintel
On Sun, Jan 03, 2021 at 02:54:53PM +0100, Arnd Bergmann wrote: > From: Arnd Bergmann > > pm_clk_suspend()/pm_clk_resume() are defined as NULL pointers rather than > empty inline stubs without CONFIG_PM: > > drivers/clk/mmp/clk-audio.c:402:16: error: called object type 'void *' is not > a functi

[PATCH] clk: mmp2: fix build without CONFIG_PM

2021-01-03 Thread Arnd Bergmann
From: Arnd Bergmann pm_clk_suspend()/pm_clk_resume() are defined as NULL pointers rather than empty inline stubs without CONFIG_PM: drivers/clk/mmp/clk-audio.c:402:16: error: called object type 'void *' is not a function or function pointer pm_clk_suspend(dev); drivers/clk/mmp/clk-audio