]> git.baikalelectronics.ru Git - kernel.git/commit
net: aquantia: make symbol hw_atl_boards static
authorWei Yongjun <weiyongjun1@huawei.com>
Tue, 23 Jan 2018 02:10:38 +0000 (02:10 +0000)
committerDavid S. Miller <davem@davemloft.net>
Tue, 23 Jan 2018 15:59:42 +0000 (10:59 -0500)
commit7a9c62f65c03c41e523e8786b98e2a9485851942
tree4231617ab1247b6bb4df13445e87ee6891549b5c
parenta8da3be52c568873c872c7e13310a67774bcd740
net: aquantia: make symbol hw_atl_boards static

Fixes the following sparse warning:

drivers/net/ethernet/aquantia/atlantic/aq_pci_func.c:50:34: warning:
 symbol 'hw_atl_boards' was not declared. Should it be static?

Fixes: 7f7bd5e8cc49 ("net: aquantia: Introduce new AQC devices and capabilities")
Signed-off-by: Wei Yongjun <weiyongjun1@huawei.com>
Acked-by: Igor Russkikh <igor.russkikh@aquantia.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/aquantia/atlantic/aq_pci_func.c