]> git.baikalelectronics.ru Git - uboot.git/commitdiff
net: fec_mxc: Declare 'promisc' as bool
authorBin Meng <bmeng.cn@gmail.com>
Mon, 1 Nov 2021 06:15:11 +0000 (14:15 +0800)
committerRamon Fried <rfried.dev@gmail.com>
Tue, 23 Nov 2021 07:57:56 +0000 (09:57 +0200)
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>
drivers/net/fec_mxc.h

index 1c0d0e5b8f89be1587d27ca3c29d0c26c50fdb66..48faa33d66eca7fa3f671e5efaa3302666038060 100644 (file)
@@ -272,7 +272,7 @@ struct fec_priv {
        struct clk clk_ref;
        struct clk clk_ptp;
        u32 clk_rate;
-       char promisc;
+       bool promisc;
 };
 
 /**