fec: Fix PHC device log
authorFabio Estevam <fabio.estevam@freescale.com>
Sat, 13 Apr 2013 07:25:36 +0000 (07:25 +0000)
committerDavid S. Miller <davem@davemloft.net>
Sat, 13 Apr 2013 20:51:07 +0000 (16:51 -0400)
commiteb1d064058c7c7c2b2e414c4c8e81c21965cdbe9
tree9d41ef5b333512dcc5adc9b45d7efbca504a74a9
parentca7c4a45d132c7e135cc182aa8479ffaf7122704
fec: Fix PHC device log

Currently when booting a mx6 device we get the following on boot:

registered PHC device on eth%d

Fix it by printing the network device name only after it gets registered, so
that the following can be read now:

fec 2188000.ethernet eth0: registered PHC device 0

Signed-off-by: Fabio Estevam <fabio.estevam@freescale.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/freescale/fec_main.c
drivers/net/ethernet/freescale/fec_ptp.c