]> Git Repo - u-boot.git/commitdiff
net: fec_mxc: Declare 'promisc' as bool
authorBin Meng <[email protected]>
Mon, 1 Nov 2021 06:15:11 +0000 (14:15 +0800)
committerRamon Fried <[email protected]>
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 <[email protected]>
Reviewed-by: Vladimir Oltean <[email protected]>
Reviewed-by: Ramon Fried <[email protected]>
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;
 };
 
 /**
This page took 0.032002 seconds and 4 git commands to generate.