aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/ide/legacy/ide-cs.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/ide/legacy/ide-cs.c')
-rw-r--r--drivers/ide/legacy/ide-cs.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/ide/legacy/ide-cs.c b/drivers/ide/legacy/ide-cs.c
index 7c4aa6c79a9f..15ccf6944ae2 100644
--- a/drivers/ide/legacy/ide-cs.c
+++ b/drivers/ide/legacy/ide-cs.c
@@ -151,7 +151,7 @@ static int idecs_register(unsigned long io, unsigned long ctl, unsigned long irq
151 u8 idx[4] = { 0xff, 0xff, 0xff, 0xff }; 151 u8 idx[4] = { 0xff, 0xff, 0xff, 0xff };
152 152
153 memset(&hw, 0, sizeof(hw)); 153 memset(&hw, 0, sizeof(hw));
154 ide_init_hwif_ports(&hw, io, ctl, NULL); 154 ide_std_init_ports(&hw, io, ctl);
155 hw.irq = irq; 155 hw.irq = irq;
156 hw.chipset = ide_pci; 156 hw.chipset = ide_pci;
157 hw.dev = &handle->dev; 157 hw.dev = &handle->dev;