summaryrefslogtreecommitdiffstats
path: root/net/wimax
diff options
context:
space:
mode:
authorVaibhav Gupta <vaibhavgupta40@gmail.com>2020-07-07 13:11:22 +0530
committerDavid S. Miller <davem@davemloft.net>2020-07-07 12:56:40 -0700
commit86fc3f7074d029ce23271d492a1c8ffee3067244 (patch)
tree559d4ad10fe46e50a444dcb155f31d00361940b1 /net/wimax
parentc8658e584126e34b2aec8b5cfa59aed0df2b5752 (diff)
downloadlinux-86fc3f7074d029ce23271d492a1c8ffee3067244.tar.gz
linux-86fc3f7074d029ce23271d492a1c8ffee3067244.tar.bz2
linux-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 'net/wimax')
0 files changed, 0 insertions, 0 deletions