[ARM] 4429/2: iop13xx: expose the 'iop' attribute versions of the tpmi control registers
authorDan Williams <dan.j.williams@intel.com>
Wed, 6 Jun 2007 16:51:21 +0000 (17:51 +0100)
committerRussell King <rmk+kernel@arm.linux.org.uk>
Thu, 12 Jul 2007 10:11:55 +0000 (11:11 +0100)
commit51198ea9478b6e10759ab07cd0b9917663c8df7a
treebc744b8eaa771d583936b1227ab1613f94fa923d
parent7dcca30a32aadb0520417521b0c44f42d09fe05c
[ARM] 4429/2: iop13xx: expose the 'iop' attribute versions of the tpmi control registers

The tpmi control registers can be accessed on the internal bus via an
address with PCI attributes or IOP attributes (i.e. read-only,
read-write... etc).  The sas driver needs access to the iop-attribute
registers for initialization.

Changelog:
* use ARRAY_SIZE for num_resources, Russell King

Signed-off-by: Dan Williams <dan.j.williams@intel.com>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
arch/arm/mach-iop13xx/tpmi.c