diff options
author | Bin Meng | 2021-11-01 14:15:11 +0800 |
---|---|---|
committer | Ramon Fried | 2021-11-23 09:57:56 +0200 |
commit | 04c350c3373065e3e010828b13713c5a87f07241 (patch) | |
tree | 57b298467994d0404cadcbb8e614ae75409608b6 /drivers/net/fec_mxc.h | |
parent | c7ae46efdcf42317e3e57d0f14e844c551691ab9 (diff) |
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>
Diffstat (limited to 'drivers/net/fec_mxc.h')
-rw-r--r-- | drivers/net/fec_mxc.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/fec_mxc.h b/drivers/net/fec_mxc.h index 1c0d0e5b8f8..48faa33d66e 100644 --- a/drivers/net/fec_mxc.h +++ b/drivers/net/fec_mxc.h @@ -272,7 +272,7 @@ struct fec_priv { struct clk clk_ref; struct clk clk_ptp; u32 clk_rate; - char promisc; + bool promisc; }; /** |