mfd/asic3: ioread/iowrite take pointer, not unsigned long

Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>

authored by Al Viro and committed by Linus Torvalds b32661e0 97cf010a

+2 -2
+2 -2
drivers/mfd/asic3.c
··· 28 28 static inline void asic3_write_register(struct asic3 *asic, 29 29 unsigned int reg, u32 value) 30 30 { 31 - iowrite16(value, (unsigned long)asic->mapping + 31 + iowrite16(value, asic->mapping + 32 32 (reg >> asic->bus_shift)); 33 33 } 34 34 35 35 static inline u32 asic3_read_register(struct asic3 *asic, 36 36 unsigned int reg) 37 37 { 38 - return ioread16((unsigned long)asic->mapping + 38 + return ioread16(asic->mapping + 39 39 (reg >> asic->bus_shift)); 40 40 } 41 41