diff options
Diffstat (limited to 'drivers/ide/pci/cs5520.c')
-rw-r--r-- | drivers/ide/pci/cs5520.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/ide/pci/cs5520.c b/drivers/ide/pci/cs5520.c index eb68a9ad0c98..793528666672 100644 --- a/drivers/ide/pci/cs5520.c +++ b/drivers/ide/pci/cs5520.c | |||
@@ -180,7 +180,7 @@ static int __devinit cs5520_init_one(struct pci_dev *dev, const struct pci_devic | |||
180 | 180 | ||
181 | ide_pci_setup_ports(dev, d, 14, &idx[0]); | 181 | ide_pci_setup_ports(dev, d, 14, &idx[0]); |
182 | 182 | ||
183 | ide_device_add(idx); | 183 | ide_device_add(idx, d); |
184 | 184 | ||
185 | return 0; | 185 | return 0; |
186 | } | 186 | } |