Commit df1577cb authored by ChenTao's avatar ChenTao Committed by David S. Miller

net: enetc: Make some symbols static

Fix the following warning:

drivers/net/ethernet/freescale/enetc/enetc_qos.c:427:20: warning:
symbol 'enetc_act_fwd' was not declared. Should it be static?
drivers/net/ethernet/freescale/enetc/enetc_qos.c:966:20: warning:
symbol 'enetc_check_flow_actions' was not declared. Should it be static?
Reported-by: default avatarHulk Robot <hulkci@huawei.com>
Signed-off-by: default avatarChenTao <chentao107@huawei.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent e910a399
......@@ -424,7 +424,7 @@ struct enetc_psfp {
spinlock_t psfp_lock; /* spinlock for the struct enetc_psfp r/w */
};
struct actions_fwd enetc_act_fwd[] = {
static struct actions_fwd enetc_act_fwd[] = {
{
BIT(FLOW_ACTION_GATE),
BIT(FLOW_DISSECTOR_KEY_ETH_ADDRS),
......@@ -963,7 +963,8 @@ static int enetc_psfp_hw_set(struct enetc_ndev_priv *priv,
return err;
}
struct actions_fwd *enetc_check_flow_actions(u64 acts, unsigned int inputkeys)
static struct actions_fwd *enetc_check_flow_actions(u64 acts,
unsigned int inputkeys)
{
int i;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment