]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
OMAP2/3 clock: add _omap2_clk_{read,write}_reg()
authorPaul Walmsley <paul@pwsan.com>
Thu, 18 Sep 2008 17:47:06 +0000 (11:47 -0600)
committerTony Lindgren <tony@atomide.com>
Mon, 22 Sep 2008 14:49:49 +0000 (17:49 +0300)
commit2d8ea5c30f091efa6258f5c9dac292835cd36412
tree243ac8d90c53aacce9a96ca3247b150fe782554e
parent05fb452b387fa248c5774540219ba9630318e409
OMAP2/3 clock: add _omap2_clk_{read,write}_reg()

Create new static functions to read/write registers used in the struct
clk, _omap2_clk_{read,write}_reg().  A subsequent patch will use these
to ensure the correct register read/write instruction is used, which depends
on whether the clock registers are in the CM, PRM, or SCM.

Signed-off-by: Paul Walmsley <paul@pwsan.com>
Signed-off-by: Tony Lindgren <tony@atomide.com>
arch/arm/mach-omap2/clock.c