ARM: shmobile: lager-reference: Instantiate clkdevs for SCIF and CMT
authorLaurent Pinchart <laurent.pinchart+renesas@ideasonboard.com>
Wed, 11 Dec 2013 14:13:54 +0000 (15:13 +0100)
committerSimon Horman <horms+renesas@verge.net.au>
Thu, 19 Dec 2013 10:08:25 +0000 (19:08 +0900)
commit4a606af20d930dc1a8b62b0f753cdc018914e5de
treee015416028998b5078ad88db0282739145158194
parente006502126a6a1f3afd879afa9101cc3df8b11f9
ARM: shmobile: lager-reference: Instantiate clkdevs for SCIF and CMT

Now that the common clock framework is supported, the clock lookup
entries in clock-r8a7790.c are not registered anymore. Devices must
instead reference their clocks in the device tree. However, SCIF and CMT
devices are still instantiated through platform code, and thus need a
clock lookup entry.

Retrieve the SCIF and CMT clock entries by name and register clkdevs for
the corresponding devices. This will be removed when the SCIF and CMT
devices will be instantiated from the device tree.

Signed-off-by: Laurent Pinchart <laurent.pinchart+renesas@ideasonboard.com>
Signed-off-by: Simon Horman <horms+renesas@verge.net.au>
arch/arm/mach-shmobile/board-lager-reference.c