]> git.dujemihanovic.xyz Git - u-boot.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)
commit04c350c3373065e3e010828b13713c5a87f07241
tree57b298467994d0404cadcbb8e614ae75409608b6
parentc7ae46efdcf42317e3e57d0f14e844c551691ab9
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