net: freescale: fec: add support for optional enet_out clk
authorWolfram Sang <w.sang@pengutronix.de>
Tue, 29 Jan 2013 14:46:11 +0000 (15:46 +0100)
committerShawn Guo <shawn.guo@linaro.org>
Thu, 4 Apr 2013 13:22:40 +0000 (21:22 +0800)
commitdaa7d392ffe67e698ee442694276061624b4b0a1
treede6e3cba8d79fcc55ae6cdc294c1a29e5742d141
parentc29dc2d771411850777eb027756b12106b5f6cd5
net: freescale: fec: add support for optional enet_out clk

Some MX28 boards need the internal enet_out clock to be enabled. So, do
this in the driver iff the clock was referenced via devicetree.

Signed-off-by: Wolfram Sang <w.sang@pengutronix.de>
Signed-off-by: Shawn Guo <shawn.guo@linaro.org>
Acked-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/freescale/fec.c
drivers/net/ethernet/freescale/fec.h