vserver 1.9.5.x5
[linux-2.6.git] / drivers / mtd / maps / rpxlite.c
index 837089a..809a0c8 100644 (file)
@@ -1,5 +1,5 @@
 /*
- * $Id: rpxlite.c,v 1.20 2004/07/12 21:59:44 dwmw2 Exp $
+ * $Id: rpxlite.c,v 1.22 2004/11/04 13:24:15 gleixner Exp $
  *
  * Handle mapping of the flash on the RPX Lite and CLLF boards
  */
@@ -28,7 +28,7 @@ static struct map_info rpxlite_map = {
 int __init init_rpxlite(void)
 {
        printk(KERN_NOTICE "RPX Lite or CLLF flash device: %x at %x\n", WINDOW_SIZE*4, WINDOW_ADDR);
-       rpxlite_map.virt = (unsigned long)ioremap(WINDOW_ADDR, WINDOW_SIZE * 4);
+       rpxlite_map.virt = ioremap(WINDOW_ADDR, WINDOW_SIZE * 4);
 
        if (!rpxlite_map.virt) {
                printk("Failed to ioremap\n");