diff options
author | 2020-07-07 13:11:22 +0530 | |
---|---|---|
committer | 2020-07-07 12:56:40 -0700 | |
commit | 86fc3f7074d029ce23271d492a1c8ffee3067244 (patch) | |
tree | 559d4ad10fe46e50a444dcb155f31d00361940b1 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | Merge branch 'phy-warn' (diff) | |
download | linux-dev-86fc3f7074d029ce23271d492a1c8ffee3067244.tar.xz linux-dev-86fc3f7074d029ce23271d492a1c8ffee3067244.zip |
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 <sfr@canb.auug.org.au>
Signed-off-by: Vaibhav Gupta <vaibhavgupta40@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions