ARM: SAMSUNG: Add clkdev infrastructure
authorThomas Abraham <thomas.ab@samsung.com>
Tue, 14 Jun 2011 10:12:26 +0000 (19:12 +0900)
committerKukjin Kim <kgene.kim@samsung.com>
Wed, 20 Jul 2011 10:11:28 +0000 (19:11 +0900)
commitf86c6660927614fcda257e083569bfb252fcf85e
tree69a3b8f88dbc47e150f4e72e7535ad38a8eebb3a
parent5822a5df5ee2bbb2a98a4baadf065829e191395f
ARM: SAMSUNG: Add clkdev infrastructure

The struct clk definition for Samsung platforms is extended to include
a instance of struct clk_lookup and a device name. When clocks are
registered using s3c24xx_register_clock function, the dev_id, con_id
and clk members are initialized with information from the struct clk
instance and struct clk_lookup member is registered.

Signed-off-by: Thomas Abraham <thomas.ab@samsung.com>
Signed-off-by: Kukjin Kim <kgene.kim@samsung.com>
arch/arm/plat-samsung/clock.c
arch/arm/plat-samsung/include/plat/clock.h