From: Vaibhav Gupta
Date: Tue, 7 Jul 2020 13:11:22 +0530
> The upgraded .suspend() and .resume() throw
> "defined but not used [-Wunused-function]" warning for certain
> configurations.
>
> Mark them with "__maybe_unused" attribute.
>
> Compile-tested only.
>
> Fixes: b0db0cc2f695 ("sun/niu:
The upgraded .suspend() and .resume() throw
"defined but not used [-Wunused-function]" warning for certain
configurations.
Mark them with "__maybe_unused" attribute.
Compile-tested only.
Fixes: b0db0cc2f695 ("sun/niu: use generic power management")
Reported-by: Stephen Rothwell
Signed-off-by: V