net: fec_mxc: Declare 'promisc' as bool

priv->promisc is used as the parameter of the set_promisc() call
which accepts a bool type instead of char.

Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
Reviewed-by: Vladimir Oltean <vladimir.oltean@nxp.com>
Reviewed-by: Ramon Fried <rfried.dev@gmail.com>
This commit is contained in:
Bin Meng 2021-11-01 14:15:11 +08:00 committed by Ramon Fried
parent c7ae46efdc
commit 04c350c337

View file

@ -272,7 +272,7 @@ struct fec_priv {
struct clk clk_ref; struct clk clk_ref;
struct clk clk_ptp; struct clk clk_ptp;
u32 clk_rate; u32 clk_rate;
char promisc; bool promisc;
}; };
/** /**