Skip to content

Commit e8a22b5

Browse files
Wei Yongjundavem330
authored andcommitted
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: 4948293 ("net: aquantia: Introduce new AQC devices and capabilities") Signed-off-by: Wei Yongjun <[email protected]> Acked-by: Igor Russkikh <[email protected]> Signed-off-by: David S. Miller <[email protected]>
1 parent f03e4f8 commit e8a22b5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

drivers/net/ethernet/aquantia/atlantic/aq_pci_func.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ static const struct pci_device_id aq_pci_tbl[] = {
4747
{}
4848
};
4949

50-
const struct aq_board_revision_s hw_atl_boards[] = {
50+
static const struct aq_board_revision_s hw_atl_boards[] = {
5151
{ AQ_DEVICE_ID_0001, AQ_HWREV_1, &hw_atl_ops_a0, &hw_atl_a0_caps_aqc107, },
5252
{ AQ_DEVICE_ID_D100, AQ_HWREV_1, &hw_atl_ops_a0, &hw_atl_a0_caps_aqc100, },
5353
{ AQ_DEVICE_ID_D107, AQ_HWREV_1, &hw_atl_ops_a0, &hw_atl_a0_caps_aqc107, },

0 commit comments

Comments
 (0)