]> git.baikalelectronics.ru Git - kernel.git/commit
[ARM] 4294/1: ns9xxx: Determine system clock from PLL register settings
authorUwe Kleine-König <ukleinek@informatik.uni-freiburg.de>
Wed, 28 Mar 2007 17:06:41 +0000 (18:06 +0100)
committerRussell King <rmk+kernel@arm.linux.org.uk>
Sat, 21 Apr 2007 19:51:11 +0000 (20:51 +0100)
commit4ce8e25014ca01762751775b069a186dad90bd8c
tree7c0d4cc8cb2ae6f398cbb731883362f75b4c8d64
parent5b889ae8854baf8f32f6e525067d006bbe869265
[ARM] 4294/1: ns9xxx: Determine system clock from PLL register settings

The function attribute const is abused here as the PLL register is read.  But I
think this is all right because the PLL register cannot change without a reset.

Note: This patch depends on 4293/1

Signed-off-by: Uwe Kleine-König <ukleinek@informatik.uni-freiburg.de>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
include/asm-arm/arch-ns9xxx/clock.h