From: Ezequiel Garcia Date: Mon, 30 Sep 2013 21:03:28 +0000 (-0300) Subject: ARM: kirkwood: Remove unneeded PCIe clock adding X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=3839c08d3ae44cf39b26eecefdae07f7b2443e7e;p=GitHub%2Fexynos8895%2Fandroid_kernel_samsung_universal8895.git ARM: kirkwood: Remove unneeded PCIe clock adding Since the PCIe devices is properly initialized from the DT, the clocks are now referenced in the device tree nodes, and it's not needed to have this hack to add them explicitly. Signed-off-by: Ezequiel Garcia Tested-by: Jason Gunthorpe Tested-by: Arnaud Ebalard Signed-off-by: Jason Cooper --- diff --git a/arch/arm/mach-kirkwood/board-dt.c b/arch/arm/mach-kirkwood/board-dt.c index 334439d8069c..d8b666c39fd1 100644 --- a/arch/arm/mach-kirkwood/board-dt.c +++ b/arch/arm/mach-kirkwood/board-dt.c @@ -44,14 +44,6 @@ static void __init kirkwood_legacy_clk_init(void) clkspec.np = np; clkspec.args_count = 1; - clkspec.args[0] = CGC_BIT_PEX0; - orion_clkdev_add("0", "pcie", - of_clk_get_from_provider(&clkspec)); - - clkspec.args[0] = CGC_BIT_PEX1; - orion_clkdev_add("1", "pcie", - of_clk_get_from_provider(&clkspec)); - /* * The ethernet interfaces forget the MAC address assigned by * u-boot if the clocks are turned off. Until proper DT support