ide: remove chipset field from hw_regs_t
[deliverable/linux.git] / drivers / ide / macide.c
index 4b1718e832839186c12673f8b589022ba115c55a..3af9e96da61720229bcebb1bacf07d9f3a71632b 100644 (file)
@@ -76,13 +76,12 @@ static void __init macide_setup_ports(hw_regs_t *hw, unsigned long base,
 
        hw->irq = irq;
        hw->ack_intr = ack_intr;
-
-       hw->chipset = ide_generic;
 }
 
 static const struct ide_port_info macide_port_info = {
        .host_flags             = IDE_HFLAG_MMIO | IDE_HFLAG_NO_DMA,
        .irq_flags              = IRQF_SHARED,
+       .chipset                = ide_generic,
 };
 
 static const char *mac_ide_name[] =
This page took 0.024154 seconds and 5 git commands to generate.