mirror of
https://github.com/torvalds/linux.git
synced 2024-11-19 10:31:48 +00:00
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>
This commit is contained in:
parent
b77f3ce0fd
commit
a61432d472
@ -2,6 +2,7 @@
|
||||
// Copyright (c) 2016-2017 Hisilicon Limited.
|
||||
|
||||
#include "hclge_main.h"
|
||||
#include "hclge_dcb.h"
|
||||
#include "hclge_tm.h"
|
||||
#include "hnae3.h"
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user