![](https://secure.gravatar.com/avatar/d75e3142f5cbc42f680d366974fb42b9.jpg?s=120&d=mm&r=g)
4 Sep
2017
4 Sep
'17
4:31 p.m.
On Lu, 2017-09-04 at 15:54 +0200, Takashi Iwai wrote:
Add __maybe_unused prefix for addressing the following warnings: sound/soc/codecs/cs43130.c:2615:12: warning: ‘cs43130_runtime_resume’ defined but not used [-Wunused-function] sound/soc/codecs/cs43130.c:2596:12: warning: ‘cs43130_runtime_suspend’ defined but not used [-Wunused-function]
Isn't it better to guard it with CONFIG_PM?
thanks, Daniel.