summaryrefslogtreecommitdiffstats
path: root/drivers/ide/ide_platform.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/ide/ide_platform.c')
-rw-r--r--drivers/ide/ide_platform.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/ide/ide_platform.c b/drivers/ide/ide_platform.c
index 051b4ab0f359..813653362a26 100644
--- a/drivers/ide/ide_platform.c
+++ b/drivers/ide/ide_platform.c
@@ -40,12 +40,11 @@ static void __devinit plat_ide_setup_ports(hw_regs_t *hw,
hw->io_ports.ctl_addr = (unsigned long)ctrl;
hw->irq = irq;
-
- hw->chipset = ide_generic;
}
static const struct ide_port_info platform_ide_port_info = {
.host_flags = IDE_HFLAG_NO_DMA,
+ .chipset = ide_generic,
};
static int __devinit plat_ide_probe(struct platform_device *pdev)
OpenPOWER on IntegriCloud