diff options
Diffstat (limited to 'drivers/ata/pata_it8213.c')
-rw-r--r-- | drivers/ata/pata_it8213.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/ata/pata_it8213.c b/drivers/ata/pata_it8213.c index 9ce89522e764..291a0d6e2434 100644 --- a/drivers/ata/pata_it8213.c +++ b/drivers/ata/pata_it8213.c | |||
@@ -274,7 +274,6 @@ static int it8213_init_one (struct pci_dev *pdev, const struct pci_device_id *en | |||
274 | { | 274 | { |
275 | static int printed_version; | 275 | static int printed_version; |
276 | static const struct ata_port_info info = { | 276 | static const struct ata_port_info info = { |
277 | .sht = &it8213_sht, | ||
278 | .flags = ATA_FLAG_SLAVE_POSS, | 277 | .flags = ATA_FLAG_SLAVE_POSS, |
279 | .pio_mask = 0x1f, /* pio0-4 */ | 278 | .pio_mask = 0x1f, /* pio0-4 */ |
280 | .mwdma_mask = 0x07, /* mwdma0-2 */ | 279 | .mwdma_mask = 0x07, /* mwdma0-2 */ |
@@ -288,7 +287,7 @@ static int it8213_init_one (struct pci_dev *pdev, const struct pci_device_id *en | |||
288 | dev_printk(KERN_DEBUG, &pdev->dev, | 287 | dev_printk(KERN_DEBUG, &pdev->dev, |
289 | "version " DRV_VERSION "\n"); | 288 | "version " DRV_VERSION "\n"); |
290 | 289 | ||
291 | return ata_pci_init_one(pdev, ppi); | 290 | return ata_pci_init_one(pdev, ppi, &it8213_sht); |
292 | } | 291 | } |
293 | 292 | ||
294 | static const struct pci_device_id it8213_pci_tbl[] = { | 293 | static const struct pci_device_id it8213_pci_tbl[] = { |