From 25358aa6f73471d99d9f1cd0aba1b96b7c1fcfb7 Mon Sep 17 00:00:00 2001 From: Emmanuel Roullit Date: Sun, 15 Jan 2017 20:51:24 +0100 Subject: [PATCH] net/qede: fix function declaration clang reports this error message: error: this function declaration is not a prototype [-Werror,-Wstrict-prototypes] Fixes: 5cdd769a26ec ("qede: add L2 support") Signed-off-by: Emmanuel Roullit Acked-by: Ferruh Yigit --- drivers/net/qede/qede_eth_if.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/net/qede/qede_eth_if.h b/drivers/net/qede/qede_eth_if.h index f0c489ceda..8b96df0ca6 100644 --- a/drivers/net/qede/qede_eth_if.h +++ b/drivers/net/qede/qede_eth_if.h @@ -133,7 +133,7 @@ struct qed_eth_ops { extern const struct qed_common_ops qed_common_ops_pass; -const struct qed_eth_ops *qed_get_eth_ops(); +const struct qed_eth_ops *qed_get_eth_ops(void); int qed_configure_filter_rx_mode(struct rte_eth_dev *eth_dev, enum qed_filter_rx_mode_type type); -- 2.20.1