diff options
author | Jason Yan <yanaijie@huawei.com> | 2020-04-15 11:42:48 +0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2020-04-16 02:22:14 +0300 |
commit | ae5a44bb970ad8d0f7382cf3fc9738787e3cf19f (patch) | |
tree | 8f13834eb217858c61875bb45a5c81d05a4db335 /drivers/net/ethernet/dec | |
parent | c8322754642052b3580db8bc3c33fd671a41cdd6 (diff) | |
download | linux-ae5a44bb970ad8d0f7382cf3fc9738787e3cf19f.tar.xz |
net: tulip: make early_486_chipsets static
Fix the following sparse warning:
drivers/net/ethernet/dec/tulip/tulip_core.c:1280:28: warning: symbol
'early_486_chipsets' was not declared. Should it be static?
Reported-by: Hulk Robot <hulkci@huawei.com>
Signed-off-by: Jason Yan <yanaijie@huawei.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/ethernet/dec')
-rw-r--r-- | drivers/net/ethernet/dec/tulip/tulip_core.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/ethernet/dec/tulip/tulip_core.c b/drivers/net/ethernet/dec/tulip/tulip_core.c index 48ea658aa1a6..15efc294f513 100644 --- a/drivers/net/ethernet/dec/tulip/tulip_core.c +++ b/drivers/net/ethernet/dec/tulip/tulip_core.c @@ -1277,7 +1277,7 @@ static const struct net_device_ops tulip_netdev_ops = { #endif }; -const struct pci_device_id early_486_chipsets[] = { +static const struct pci_device_id early_486_chipsets[] = { { PCI_DEVICE(PCI_VENDOR_ID_INTEL, PCI_DEVICE_ID_INTEL_82424) }, { PCI_DEVICE(PCI_VENDOR_ID_SI, PCI_DEVICE_ID_SI_496) }, { }, |