summaryrefslogtreecommitdiffstats
path: root/net/wimax
diff options
context:
space:
mode:
authorWei Yongjun <weiyongjun1@huawei.com>2020-07-07 18:55:43 +0800
committerDavid S. Miller <davem@davemloft.net>2020-07-07 12:59:37 -0700
commit847d97e013dc8359312e2376c4805ef9d2a52f64 (patch)
treefb216de92e11b2aa023759d9840a670ffe885669 /net/wimax
parent86fc3f7074d029ce23271d492a1c8ffee3067244 (diff)
downloadlinux-847d97e013dc8359312e2376c4805ef9d2a52f64.tar.gz
linux-847d97e013dc8359312e2376c4805ef9d2a52f64.tar.bz2
linux-847d97e013dc8359312e2376c4805ef9d2a52f64.zip
sun/cassini: mark cas_resume() as __maybe_unused
In certain configurations without power management support, gcc report the following warning: drivers/net/ethernet/sun/cassini.c:5206:12: warning: 'cas_resume' defined but not used [-Wunused-function] 5206 | static int cas_resume(struct device *dev_d) | ^~~~~~~~~~ Mark cas_resume() as __maybe_unused to make it clear. Fixes: f193f4ebde3d ("sun/cassini: use generic power management") Reported-by: Hulk Robot <hulkci@huawei.com> Signed-off-by: Wei Yongjun <weiyongjun1@huawei.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/wimax')
0 files changed, 0 insertions, 0 deletions