OMAP: omap_device: Create clkdev entry for hwmod main_clk
authorBenoit Cousson <b-cousson@ti.com>
Sun, 10 Jul 2011 11:54:12 +0000 (05:54 -0600)
committerPaul Walmsley <paul@pwsan.com>
Sun, 10 Jul 2011 11:54:12 +0000 (05:54 -0600)
commitbf1e0776cf5e4ef2622de3a4b63f84175b5b48ab
treedf9b0b1c02f1f7c4774464bf5ca58d6ca791db9b
parentc84584139aaeef7631df152e13cbf319d8e55950
OMAP: omap_device: Create clkdev entry for hwmod main_clk

Extend the existing function to create clkdev for every optional
clocks to add a well one "fck" alias for the main_clk of the
omap_hwmod.
It will allow to remove these static clkdev entries from the
clockXXX_data.c file.

Signed-off-by: Benoit Cousson <b-cousson@ti.com>
Cc: Paul Walmsley <paul@pwsan.com>
Cc: Kevin Hilman <khilman@ti.com>
Cc: Todd Poynor <toddpoynor@google.com>
[paul@pwsan.com: remove all of the "fck" role clkdev aliases from the
 clock data files; fixed error message]
Signed-off-by: Paul Walmsley <paul@pwsan.com>
arch/arm/mach-omap2/clock2420_data.c
arch/arm/mach-omap2/clock2430_data.c
arch/arm/mach-omap2/clock3xxx_data.c
arch/arm/mach-omap2/clock44xx_data.c
arch/arm/plat-omap/omap_device.c