Re: [PATCH] [v2] clk: samsung: mark PM functions as __maybe_unused

2020-12-05 Thread Krzysztof Kozlowski
On Fri, 4 Dec 2020 10:16:11 +0100, Arnd Bergmann wrote: > The use of SIMPLE_DEV_PM_OPS() means that the suspend/resume > functions are now unused when CONFIG_PM is disabled: > > drivers/clk/samsung/clk-exynos-clkout.c:219:12: error: 'exynos_clkout_resume' > defined but not used [-Werror=unused-fu

Re: [PATCH] [v2] clk: samsung: mark PM functions as __maybe_unused

2020-12-04 Thread Sylwester Nawrocki
On 12/4/20 10:16, Arnd Bergmann wrote: From: Arnd Bergmann The use of SIMPLE_DEV_PM_OPS() means that the suspend/resume functions are now unused when CONFIG_PM is disabled: drivers/clk/samsung/clk-exynos-clkout.c:219:12: error: 'exynos_clkout_resume' defined but not used [-Werror=unused-funct

Re: [PATCH] [v2] clk: samsung: mark PM functions as __maybe_unused

2020-12-04 Thread Krzysztof Kozlowski
On Fri, 4 Dec 2020 at 16:28, Sylwester Nawrocki wrote: > > From: Arnd Bergmann > > The use of SIMPLE_DEV_PM_OPS() means that the suspend/resume > functions are now unused when CONFIG_PM is disabled: > > drivers/clk/samsung/clk-exynos-clkout.c:219:12: error: > 'exynos_clkout_resume' defined but no

[PATCH] [v2] clk: samsung: mark PM functions as __maybe_unused

2020-12-04 Thread Sylwester Nawrocki
From: Arnd Bergmann The use of SIMPLE_DEV_PM_OPS() means that the suspend/resume functions are now unused when CONFIG_PM is disabled: drivers/clk/samsung/clk-exynos-clkout.c:219:12: error: 'exynos_clkout_resume' defined but not used [-Werror=unused-function] 219 | static int exynos_clkout_r

Re: [PATCH] [v2] clk: samsung: mark PM functions as __maybe_unused

2020-12-04 Thread Chanwoo Choi
On 12/4/20 6:16 PM, Arnd Bergmann wrote: > From: Arnd Bergmann > > The use of SIMPLE_DEV_PM_OPS() means that the suspend/resume > functions are now unused when CONFIG_PM is disabled: > > drivers/clk/samsung/clk-exynos-clkout.c:219:12: error: 'exynos_clkout_resume' > defined but not used [-Werro

[PATCH] [v2] clk: samsung: mark PM functions as __maybe_unused

2020-12-04 Thread Arnd Bergmann
From: Arnd Bergmann The use of SIMPLE_DEV_PM_OPS() means that the suspend/resume functions are now unused when CONFIG_PM is disabled: drivers/clk/samsung/clk-exynos-clkout.c:219:12: error: 'exynos_clkout_resume' defined but not used [-Werror=unused-function] 219 | static int exynos_clkout_res