git.openpandora.org
/
pandora-u-boot.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c7ae46e
)
net: fec_mxc: Declare 'promisc' as bool
author
Bin Meng
<bmeng.cn@gmail.com>
Mon, 1 Nov 2021 06:15:11 +0000
(14:15 +0800)
committer
Ramon 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
patch
|
blob
|
history
diff --git
a/drivers/net/fec_mxc.h
b/drivers/net/fec_mxc.h
index
1c0d0e5
..
48faa33
100644
(file)
--- 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;
};
/**