summaryrefslogtreecommitdiff
path: root/drivers/ide/macide.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/ide/macide.c')
-rw-r--r--drivers/ide/macide.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/ide/macide.c b/drivers/ide/macide.c
index 4b1718e83283..3af9e96da617 100644
--- a/drivers/ide/macide.c
+++ b/drivers/ide/macide.c
@@ -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[] =