summaryrefslogtreecommitdiffstats
path: root/drivers/net/ethernet/stmicro/stmmac/stmmac_pci.c
diff options
context:
space:
mode:
authorSrinivas Kandagatla2012-08-30 07:50:43 +0200
committerDavid S. Miller2012-08-31 22:11:28 +0200
commitd56631a66c0d0c9d662abfb38cd1f6326eeebd7c (patch)
tree07f790e20e7f6504a6602dacb38c7bc9ff00ec4d /drivers/net/ethernet/stmicro/stmmac/stmmac_pci.c
parentnet:stmmac: fix broken stmmac_pltfr_remove. (diff)
downloadkernel-qcow2-linux-d56631a66c0d0c9d662abfb38cd1f6326eeebd7c.tar.gz
kernel-qcow2-linux-d56631a66c0d0c9d662abfb38cd1f6326eeebd7c.tar.xz
kernel-qcow2-linux-d56631a66c0d0c9d662abfb38cd1f6326eeebd7c.zip
net:stmmac: Remove bus_id from mdio platform data.
This patch removes bus_id from mdio platform data, The reason to remove bus_id is, stmmac mdio bus_id is always same as stmmac bus-id, so there is no point in passing this in different variable. Also stmmac ethernet driver connects to phy with bus_id passed its platform data. So, having single bus-id is much simpler. Signed-off-by: Srinivas Kandagatla <srinivas.kandagatla@st.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/ethernet/stmicro/stmmac/stmmac_pci.c')
-rw-r--r--drivers/net/ethernet/stmicro/stmmac/stmmac_pci.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/net/ethernet/stmicro/stmmac/stmmac_pci.c b/drivers/net/ethernet/stmicro/stmmac/stmmac_pci.c
index 13afb8edfadc..1f069b0f6af5 100644
--- a/drivers/net/ethernet/stmicro/stmmac/stmmac_pci.c
+++ b/drivers/net/ethernet/stmicro/stmmac/stmmac_pci.c
@@ -40,7 +40,6 @@ static void stmmac_default_data(void)
plat_dat.has_gmac = 1;
plat_dat.force_sf_dma_mode = 1;
- mdio_data.bus_id = 1;
mdio_data.phy_reset = NULL;
mdio_data.phy_mask = 0;
plat_dat.mdio_bus_data = &mdio_data;