]> err.no Git - linux-2.6/commit
[ARM] 4418/1: AT91: Number of programmable clocks differs
authorAndrew Victor <andrew@sanpeople.com>
Thu, 31 May 2007 08:29:33 +0000 (09:29 +0100)
committerRussell King <rmk+kernel@arm.linux.org.uk>
Sat, 2 Jun 2007 20:31:43 +0000 (21:31 +0100)
commit1f4b49a4293ea7b0adeaeae37207b9c9fd2dd7c2
tree9ba483dc4501bc08a121797954329121efb1f616
parentc7341d436a7a89dc26706386de0a301fc9dbe49a
[ARM] 4418/1: AT91: Number of programmable clocks differs

The number of programmable clocks available on the AT91 processors can
differ, therefore do not always display the contents of the PMC_PCKR(0)
.. PMC_PCKR(3) registers (ie, assume there are 4 clocks).

If CONFIG_AT91_PROGRAMMABLE_CLOCKS is enabled, the programmable clocks
will be registered like the other system/peripheral clocks, and the
state of the programmable clocks will be displayed like with the other
clocks.

Signed-off-by: Andrew Victor <andrew@sanpeople.com>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
arch/arm/mach-at91/clock.c