[MTD] maps/ixp4xx: kill some warnings
authorDavid Vrabel <dvrabel@arcom.com>
Tue, 1 Nov 2005 16:46:19 +0000 (16:46 +0000)
committerThomas Gleixner <tglx@mtd.linutronix.de>
Sun, 6 Nov 2005 23:08:05 +0000 (00:08 +0100)
commit9090ed0b82f817bde471bdbb2e73278ab75f5fd3
tree43e59580670ec4e63e9bee6ef026d785ddf23779
parent87c146dc1a8552d7ad431a41b37ba8168e51e50e
[MTD] maps/ixp4xx: kill some warnings

- Use map.virt instead of map.map_priv_1 since it has the correct type.
- Use readw/writew instead of dereferencing an ioremap'd cookie.
- Remove an unused variable.

Signed-off-by: David Vrabel <dvrabel@arcom.com>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
drivers/mtd/maps/ixp4xx.c