mirror of
https://github.com/AsahiLinux/u-boot
synced 2024-11-24 21:54:01 +00:00
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:
parent
c7ae46efdc
commit
04c350c337
1 changed files with 1 additions and 1 deletions
|
@ -272,7 +272,7 @@ struct fec_priv {
|
|||
struct clk clk_ref;
|
||||
struct clk clk_ptp;
|
||||
u32 clk_rate;
|
||||
char promisc;
|
||||
bool promisc;
|
||||
};
|
||||
|
||||
/**
|
||||
|
|
Loading…
Reference in a new issue