]> git.sur5r.net Git - u-boot/blobdiff - drivers/net/netconsole.c
net: Remove the bd* parameter from net stack functions
[u-boot] / drivers / net / netconsole.c
index 677c89f0486f2a19f334db02b45a58a443b3e2da..87cea7a93209b7fad0fa074c0668dd53ea2d053a 100644 (file)
@@ -193,11 +193,11 @@ static void nc_send_packet(const char *buf, int len)
 
        if (eth->state != ETH_STATE_ACTIVE) {
                if (eth_is_on_demand_init()) {
-                       if (eth_init(gd->bd) < 0)
+                       if (eth_init() < 0)
                                return;
                        eth_set_last_protocol(NETCONS);
                } else
-                       eth_init_state_only(gd->bd);
+                       eth_init_state_only();
 
                inited = 1;
        }