ARM: shmobile: r8a73a4: add a clock alias for the DMAC in DT mode
authorGuennadi Liakhovetski <g.liakhovetski@gmx.de>
Thu, 26 Sep 2013 17:30:02 +0000 (19:30 +0200)
committerSimon Horman <horms+renesas@verge.net.au>
Tue, 8 Oct 2013 00:44:42 +0000 (09:44 +0900)
Devices, initialised from the Device Tree and from platform code usually
have different names. This patch adds a clock alias for DMAC on r8a73a4
in DT mode.

Signed-off-by: Guennadi Liakhovetski <g.liakhovetski+renesas@gmail.com>
Signed-off-by: Simon Horman <horms+renesas@verge.net.au>
arch/arm/mach-shmobile/clock-r8a73a4.c

index 357b9bca7940e2961e424807cb4452091c2d0a13..74841edf04eb18bdcc242f9d355ff124d25f58c3 100644 (file)
@@ -580,6 +580,7 @@ static struct clk_lookup lookups[] = {
        CLKDEV_DEV_ID("sh-sci.4", &mstp_clks[MSTP216]),
        CLKDEV_DEV_ID("sh-sci.5", &mstp_clks[MSTP217]),
        CLKDEV_DEV_ID("sh-dma-engine.0", &mstp_clks[MSTP218]),
+       CLKDEV_DEV_ID("e6700020.dma-controller", &mstp_clks[MSTP218]),
        CLKDEV_DEV_ID("rcar_thermal", &mstp_clks[MSTP522]),
        CLKDEV_DEV_ID("e6520000.i2c", &mstp_clks[MSTP300]),
        CLKDEV_DEV_ID("sh_mmcif.1", &mstp_clks[MSTP305]),