mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2026-05-16 09:02:21 -04:00
net: stmmac: mdio_bus_data->default_an_inband is boolean
default_an_inband is declared as an unsigned int, but is set to true/ false and is assigned to phylink_config's member of the same name which is a bool. Declare this also as a bool for consistency. Signed-off-by: Russell King (Oracle) <rmk+kernel@armlinux.org.uk> Reviewed-by: Maxime Chevallier <maxime.chevallier@bootlin.com> Tested-by: Maxime Chevallier <maxime.chevallier@bootlin.com> Link: https://patch.msgid.link/E1vy6AT-0000000BtxD-2qm7@rmk-PC.armlinux.org.uk Signed-off-by: Jakub Kicinski <kuba@kernel.org>
This commit is contained in:
committed by
Jakub Kicinski
parent
a64d927aec
commit
3cd963fa91
@@ -86,10 +86,10 @@ struct stmmac_priv;
|
||||
struct stmmac_mdio_bus_data {
|
||||
unsigned int phy_mask;
|
||||
unsigned int pcs_mask;
|
||||
unsigned int default_an_inband;
|
||||
int *irqs;
|
||||
int probed_phy_irq;
|
||||
bool needs_reset;
|
||||
bool default_an_inband;
|
||||
};
|
||||
|
||||
struct stmmac_dma_cfg {
|
||||
|
||||
Reference in New Issue
Block a user