]> git.proxmox.com Git - mirror_ubuntu-hirsute-kernel.git/commit
net: hns3: Supply missing hclge_dcb.h include file
authorWang Hai <wanghai38@huawei.com>
Fri, 18 Sep 2020 13:06:53 +0000 (21:06 +0800)
committerDavid S. Miller <davem@davemloft.net>
Fri, 18 Sep 2020 21:55:21 +0000 (14:55 -0700)
commita61432d4726716c50dc3fa8c89243075fe7d0c04
treee3e626b689111dd4113b2d703e995fffc230c0f1
parentb77f3ce0fd95cd4216e784d1192fd32980d4c244
net: hns3: Supply missing hclge_dcb.h include file

If the header file containing a function's prototype isn't included by
the sourcefile containing the associated function, the build system
complains of missing prototypes.

Fixes the following W=1 kernel build warning(s):

drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_dcb.c:453:6: warning: no previous prototype for ‘hclge_dcb_ops_set’ [-Wmissing-prototypes]

Signed-off-by: Wang Hai <wanghai38@huawei.com>
Reviewed-by: Saeed Mahameed <saeedm@nvidia.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_dcb.c