diff options
author | Fabio Estevam <fabio.estevam@freescale.com> | 2013-04-13 07:25:36 +0000 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2013-04-13 16:51:07 -0400 |
commit | eb1d064058c7c7c2b2e414c4c8e81c21965cdbe9 (patch) | |
tree | 9d41ef5b333512dcc5adc9b45d7efbca504a74a9 /drivers/net/ethernet/freescale/fec_ptp.c | |
parent | ca7c4a45d132c7e135cc182aa8479ffaf7122704 (diff) | |
download | op-kernel-dev-eb1d064058c7c7c2b2e414c4c8e81c21965cdbe9.zip op-kernel-dev-eb1d064058c7c7c2b2e414c4c8e81c21965cdbe9.tar.gz |
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>
Diffstat (limited to 'drivers/net/ethernet/freescale/fec_ptp.c')
-rw-r--r-- | drivers/net/ethernet/freescale/fec_ptp.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/net/ethernet/freescale/fec_ptp.c b/drivers/net/ethernet/freescale/fec_ptp.c index 1f17ca0..e040c8b 100644 --- a/drivers/net/ethernet/freescale/fec_ptp.c +++ b/drivers/net/ethernet/freescale/fec_ptp.c @@ -379,7 +379,5 @@ void fec_ptp_init(struct net_device *ndev, struct platform_device *pdev) if (IS_ERR(fep->ptp_clock)) { fep->ptp_clock = NULL; pr_err("ptp_clock_register failed\n"); - } else { - pr_info("registered PHC device on %s\n", ndev->name); } } |