From: Bin Meng Date: Mon, 1 Nov 2021 06:15:11 +0000 (+0800) Subject: net: fec_mxc: Declare 'promisc' as bool X-Git-Tag: baikal/mips/sdk5.9~7^2^2~112^2~20^2~3 X-Git-Url: https://git.baikalelectronics.ru/sdk/?a=commitdiff_plain;h=5cf93adf539a804ee54a4066e587a5d06a239d31;p=uboot.git 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 Reviewed-by: Vladimir Oltean Reviewed-by: Ramon Fried --- diff --git a/drivers/net/fec_mxc.h b/drivers/net/fec_mxc.h index 1c0d0e5b8f..48faa33d66 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; }; /**