Message ID | 1359213030-18588-3-git-send-email-andrew@lunn.ch (mailing list archive) |
---|---|
State | New, archived |
Headers | show |
On Sat, Jan 26, 2013 at 04:10:29PM +0100, Andrew Lunn wrote: > Now that the Ethernet driver can get its clock from device tree, > revert this change which broken non-DT probing of the ethernet device. > > Signed-off-by: Andrew Lunn <andrew@lunn.ch> > --- > arch/arm/mach-kirkwood/board-dt.c | 4 ++-- > 1 file changed, 2 insertions(+), 2 deletions(-) Squashed in, thx, Jason.
diff --git a/arch/arm/mach-kirkwood/board-dt.c b/arch/arm/mach-kirkwood/board-dt.c index 7ab92e5..edb1215 100644 --- a/arch/arm/mach-kirkwood/board-dt.c +++ b/arch/arm/mach-kirkwood/board-dt.c @@ -48,7 +48,7 @@ static void __init kirkwood_legacy_clk_init(void) clkspec.args_count = 1; clkspec.args[0] = CGC_BIT_GE0; - orion_clkdev_add(NULL, "f1072000.egiga0", + orion_clkdev_add(NULL, "mv643xx_eth_port.0", of_clk_get_from_provider(&clkspec)); clkspec.args[0] = CGC_BIT_PEX0; @@ -60,7 +60,7 @@ static void __init kirkwood_legacy_clk_init(void) of_clk_get_from_provider(&clkspec)); clkspec.args[0] = CGC_BIT_GE1; - orion_clkdev_add(NULL, "f1076000.egiga1", + orion_clkdev_add(NULL, "mv643xx_eth_port.1", of_clk_get_from_provider(&clkspec)); }
Now that the Ethernet driver can get its clock from device tree, revert this change which broken non-DT probing of the ethernet device. Signed-off-by: Andrew Lunn <andrew@lunn.ch> --- arch/arm/mach-kirkwood/board-dt.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)