linux_dsm_epyc7002/drivers/net/ethernet
Nathan Chancellor 75603a3112 pcnet32: Mark PM functions as __maybe_unused
In certain configurations without power management support, the
following warnings happen:

../drivers/net/ethernet/amd/pcnet32.c:2928:12: warning:
'pcnet32_pm_resume' defined but not used [-Wunused-function]
 2928 | static int pcnet32_pm_resume(struct device *device_d)
      |            ^~~~~~~~~~~~~~~~~
../drivers/net/ethernet/amd/pcnet32.c:2916:12: warning:
'pcnet32_pm_suspend' defined but not used [-Wunused-function]
 2916 | static int pcnet32_pm_suspend(struct device *device_d)
      |            ^~~~~~~~~~~~~~~~~~

Mark these functions as __maybe_unused to make it clear to the compiler
that this is going to happen based on the configuration, which is the
standard for these types of functions.

Fixes: a86688fbef ("pcnet32: Convert to generic power management")
Signed-off-by: Nathan Chancellor <natechancellor@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2020-06-30 18:17:54 -07:00
..
3com docs: networking: reorganize driver documentation again 2020-06-26 16:08:44 -07:00
8390 8390: Fix coding-style issues 2020-06-28 21:44:49 -07:00
adaptec
aeroflex
agere
alacritech
allwinner
alteon
altera
amazon
amd pcnet32: Mark PM functions as __maybe_unused 2020-06-30 18:17:54 -07:00
apm
apple
aquantia net: aquantia: fix aq_ndev_start_xmit()'s return type 2020-06-28 20:52:53 -07:00
arc net: arc_emac: fix arc_emac_tx()'s return type 2020-06-28 20:52:53 -07:00
atheros
aurora net: nb8800: fix nb8800_xmit()'s return type 2020-06-28 20:52:53 -07:00
broadcom bnx2x: use generic power management 2020-06-26 12:14:09 -07:00
brocade
cadence
calxeda
cavium liquidio: use list_empty_careful in lio_list_delete_head 2020-06-28 21:46:33 -07:00
chelsio cxgb4vf: configure ports accessible by the VF 2020-06-30 15:54:25 -07:00
cirrus docs: networking: reorganize driver documentation again 2020-06-26 16:08:44 -07:00
cisco
cortina
davicom
dec docs: networking: reorganize driver documentation again 2020-06-26 16:08:44 -07:00
dlink docs: networking: reorganize driver documentation again 2020-06-26 16:08:44 -07:00
emulex
ezchip
faraday
freescale dpaa2-eth: add software counter for Tx frames converted to S/G 2020-06-29 17:42:48 -07:00
fujitsu
google
hisilicon
huawei hinic: remove unused but set variable 2020-06-30 12:42:07 -07:00
i825xx
ibm
intel net: ethernet: ixgbe: don't call devm_mdiobus_free() 2020-06-30 15:57:34 -07:00
marvell net: mvneta: speed down the PHY, if WoL used, to save energy 2020-06-26 13:36:33 -07:00
mediatek net: ethernet: mtk-star-emac: use devm_of_mdiobus_register() 2020-06-30 15:57:34 -07:00
mellanox net/mlx5e: fix memory leak of tls 2020-06-30 13:38:47 -07:00
micrel
microchip
moxa
mscc net:qos: police action offloading parameter 'burst' change to the original value 2020-06-29 17:33:42 -07:00
myricom
natsemi
neterion docs: networking: reorganize driver documentation again 2020-06-26 16:08:44 -07:00
netronome net:qos: police action offloading parameter 'burst' change to the original value 2020-06-29 17:33:42 -07:00
ni
nvidia
nxp
oki-semi net: pch_gbe: fix pch_gbe_xmit_frame()'s return type 2020-06-28 20:52:53 -07:00
packetengines
pasemi
pensando docs: networking: reorganize driver documentation again 2020-06-26 16:08:44 -07:00
qlogic net: qede: update copyright years 2020-06-30 15:51:40 -07:00
qualcomm
rdc
realtek net: phy: don't abuse devres in devm_mdiobus_register() 2020-06-30 15:57:34 -07:00
renesas
rocker
samsung
seeq
sfc sfc: don't call tx_remove if there isn't one 2020-06-30 13:09:09 -07:00
sgi
silan
sis
smsc docs: networking: reorganize driver documentation again 2020-06-26 16:08:44 -07:00
socionext
stmicro net: stmmac: dwmac-meson8b: use clk_parent_data for clock registration 2020-06-26 12:17:29 -07:00
sun
synopsys net: dwc-xlgmac: fix xlgmac_xmit()'s return type 2020-06-28 20:52:53 -07:00
tehuti
ti net: ethernet: ti: am65-cpsw-nuss: enable am65x sr2.0 support 2020-06-29 17:06:19 -07:00
toshiba
tundra
via
wiznet
xilinx
xircom
xscale
dnet.c
dnet.h
ec_bhf.c
ethoc.c
fealnx.c
jme.c
jme.h
Kconfig
korina.c
lantiq_etop.c
lantiq_xrx200.c
Makefile