]> git.baikalelectronics.ru Git - kernel.git/commit
hns3: Another build fix.
authorDavid S. Miller <davem@davemloft.net>
Sat, 29 Sep 2018 18:21:06 +0000 (11:21 -0700)
committerDavid S. Miller <davem@davemloft.net>
Sat, 29 Sep 2018 18:21:06 +0000 (11:21 -0700)
commita9f73c86cacb1d2a4dbea60386ee27e642ef9d7c
treea0b97b42f6ab5d41ab9be10ee89873193aaf4fe4
parent666e12a32c8fa79e2e48ea75cc7c4bf9972c9955
hns3: Another build fix.

drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c: In function ‘hclge_get_sset_count’:
drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c:496:31: error: ‘HNAE3_REVISION_ID_21’ undeclared (first use in this function); did you mean ‘FADT2_REVISION_ID’?
   if (hdev->pdev->revision >= HNAE3_REVISION_ID_21 ||
                               ^~~~~~~~~~~~~~~~~~~~
                               FADT2_REVISION_ID

Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c