struct ps2if {
struct serio *io;
struct sa1111_dev *dev;
- unsigned long base;
+ void __iomem *base;
unsigned int open;
spinlock_t lock;
unsigned int head;
/*
* Our parent device has already mapped the region.
*/
- ps2if->base = (unsigned long)dev->mapbase;
+ ps2if->base = dev->mapbase;
sa1111_enable_device(ps2if->dev);