]> pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - arch/ppc/platforms/4xx/luan.c
[SERIAL] Clean up and fix tty transmission start/stoping
[linux-2.6-omap-h63xx.git] / arch / ppc / platforms / 4xx / luan.c
index 1df2339f1f6cf7856901488b05af02cc11df50c7..95359f748e7b4374fa5a0a8f4d51b950919fe79d 100644 (file)
@@ -223,9 +223,8 @@ luan_setup_hose(struct pci_controller *hose,
        hose->io_space.end = LUAN_PCIX_UPPER_IO;
        hose->mem_space.start = lower_mem;
        hose->mem_space.end = upper_mem;
-       isa_io_base =
-               (unsigned long)ioremap64(pcix_io_base, PCIX_IO_SIZE);
-       hose->io_base_virt = (void *)isa_io_base;
+       hose->io_base_virt = ioremap64(pcix_io_base, PCIX_IO_SIZE);
+       isa_io_base = (unsigned long) hose->io_base_virt;
 
        setup_indirect_pci(hose, cfga, cfgd);
        hose->set_cfg_type = 1;