[PATCH] m68knommu: fix timer register access on 523x ColdFire platforms
authorGreg Ungerer <gerg@snapgear.com>
Wed, 6 Dec 2006 01:36:59 +0000 (11:36 +1000)
committerLinus Torvalds <torvalds@woody.osdl.org>
Wed, 6 Dec 2006 15:41:26 +0000 (07:41 -0800)
commitdeb77c8501f47ab228bf7cc7fd649e50603ed2cd
tree9a55c608f3eb4783c109da1401f707546e85423a
parentdd93e857fca0f6dedb8b0ffe61bf5096029963bb
[PATCH] m68knommu: fix timer register access on 523x ColdFire platforms

The 523x timer TRR register is a full 32bits, the older register (on
other ColdFire parts) was only 16 bits.  Use the right type of
__raw_read when accessing it.

Problem found by Yaroslav Vinogradov <yaroslav.vinogradov@freescale.com>

Signed-off-by: Greg Ungerer <gerg@uclinux.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
arch/m68knommu/platform/5307/timers.c