aboutsummaryrefslogtreecommitdiff
path: root/scripts/gcc-plugins/cyc_complexity_plugin.c
diff options
context:
space:
mode:
authorPadmanabhan Rajanbabu <[email protected]>2019-12-19 15:47:01 +0530
committerDavid S. Miller <[email protected]>2019-12-20 21:27:51 -0800
commitd3e014ec7d5ebe9644b5486bc530b91e62bbf624 (patch)
treed60920d138628ca065ac32faa63d9b4e25878bb3 /scripts/gcc-plugins/cyc_complexity_plugin.c
parentaf1c0e4e00f3cc76cb136ebf2e2c04e8b6446285 (diff)
net: stmmac: platform: Fix MDIO init for platforms without PHY
The current implementation of "stmmac_dt_phy" function initializes the MDIO platform bus data, even in the absence of PHY. This fix will skip MDIO initialization if there is no PHY present. Fixes: 7437127 ("net: stmmac: Convert to phylink and remove phylib logic") Acked-by: Jayati Sahu <[email protected]> Signed-off-by: Sriram Dash <[email protected]> Signed-off-by: Padmanabhan Rajanbabu <[email protected]> Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'scripts/gcc-plugins/cyc_complexity_plugin.c')
0 files changed, 0 insertions, 0 deletions