fec: Only pass pdev in fec_ptp_init()
authorFabio Estevam <fabio.estevam@freescale.com>
Fri, 7 Jun 2013 10:48:00 +0000 (10:48 +0000)
committerDavid S. Miller <davem@davemloft.net>
Fri, 7 Jun 2013 21:41:07 +0000 (14:41 -0700)
commitca162a82f56921442f5db72a3a472010e5a62c4b
tree292a2e4cf3eed58f61e8557a2069f987594e4dd5
parent28850dc7c71da9d0c0e39246e9ff6913f41f8d0a
fec: Only pass pdev in fec_ptp_init()

Passing pdev in fec_ptp_init() is enough, since we can get ndev locally.

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