m68knommu: use ARRAY_SIZE in ColdFire serial driver
authorGreg Ungerer <gerg@snapgear.com>
Tue, 5 Feb 2008 06:29:56 +0000 (22:29 -0800)
committerLinus Torvalds <torvalds@woody.linux-foundation.org>
Tue, 5 Feb 2008 17:44:21 +0000 (09:44 -0800)
commit16791963ff7dd6a108251f5fa4b273cf1ffe531f
tree547938c67fb9c81d1b2f11f33166c7dd9b7e2543
parent540e3102f75dca9c5e614905527599de18294cc8
m68knommu: use ARRAY_SIZE in ColdFire serial driver

Use ARRAY_SIZE macroto get maximum ports in ColdFire serial driver.

Signed-off-by: Greg Ungerer <gerg@uclinux.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
drivers/serial/mcf.c