]> git.baikalelectronics.ru Git - kernel.git/commit
ARM: s5p: consolidate selection of timer register
authorRussell King <rmk+kernel@arm.linux.org.uk>
Sun, 8 May 2011 14:43:07 +0000 (15:43 +0100)
committerRussell King <rmk+kernel@arm.linux.org.uk>
Mon, 23 May 2011 17:04:43 +0000 (18:04 +0100)
commitf2b248d38bfb1c89661a18a40e9714ae35f14782
tree5fe4b41d0572d68c13bbe5063603e02cbfddfb49
parentf71c5c926ab63dd2dd28bdb786f6461dbe23f217
ARM: s5p: consolidate selection of timer register

s5p duplicates the runtime selection of the timer register three times.
Move this out into a separate function.

FIXME: It is unclear whether this code needs to support true runtime
selection of the timer register, or whether it can be selected once at
init time.

Acked-by: Kukjin Kim <kgene.kim@samsung.com>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
arch/arm/plat-s5p/s5p-time.c