]> git.baikalelectronics.ru Git - uboot.git/commit
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)
commit5cf93adf539a804ee54a4066e587a5d06a239d31
tree57b298467994d0404cadcbb8e614ae75409608b6
parent01c55588bfde71cac74fabc5564779791a3ddc71
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>
drivers/net/fec_mxc.h