diff options
author | Vaibhav Gupta <[email protected]> | 2020-07-07 13:11:22 +0530 |
---|---|---|
committer | David S. Miller <[email protected]> | 2020-07-07 12:56:40 -0700 |
commit | 86fc3f7074d029ce23271d492a1c8ffee3067244 (patch) | |
tree | 559d4ad10fe46e50a444dcb155f31d00361940b1 /tools/testing/selftests/bpf/prog_tests/autoload.c | |
parent | c8658e584126e34b2aec8b5cfa59aed0df2b5752 (diff) |
sun/niu: add __maybe_unused attribute to PM functions
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 <[email protected]>
Signed-off-by: Vaibhav Gupta <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'tools/testing/selftests/bpf/prog_tests/autoload.c')
0 files changed, 0 insertions, 0 deletions