gianfar: Fix use-after-of_node_put() in gfar_of_init().
commitee76db5e9e9896312f001790855a798472440328
authorDavid S. Miller <davem@davemloft.net>
Sun, 29 Mar 2009 08:19:37 +0000 (29 01:19 -0700)
committerDavid S. Miller <davem@davemloft.net>
Sun, 29 Mar 2009 08:19:37 +0000 (29 01:19 -0700)
tree7a83b12a69689dbde07fd545a48cbd8a771c3fe3
parent2c60b6885afc56a17b9d55b04c4328123063fc9d
gianfar: Fix use-after-of_node_put() in gfar_of_init().

We can't put 'mdio' until after we've used it in the
fsl_pq_mdio_bus_name() call.

Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/gianfar.c