]> err.no Git - linux-2.6/blobdiff - drivers/ide/pci/trm290.c
lxfb: rename kernel arg fbsize to vram
[linux-2.6] / drivers / ide / pci / trm290.c
index 15ee38f7ad3f5525d044e496d93e460c8201082c..a8a3138682eff4841ac9784a4cce9d46f3ba1a89 100644 (file)
@@ -298,7 +298,7 @@ static void __devinit init_hwif_trm290(ide_hwif_t *hwif)
                if (old != compat && old_mask == 0xff) {
                        /* leave lower 10 bits untouched */
                        compat += (next_offset += 0x400);
-                       hwif->io_ports[IDE_CONTROL_OFFSET] = compat + 2;
+                       hwif->io_ports.ctl_addr = compat + 2;
                        outw(compat | 1, hwif->config_data);
                        new = inw(hwif->config_data);
                        printk(KERN_INFO "%s: control basereg workaround: "