aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/ata/pata_jmicron.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/ata/pata_jmicron.c')
-rw-r--r--drivers/ata/pata_jmicron.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/ata/pata_jmicron.c b/drivers/ata/pata_jmicron.c
index 61ff5c6b4568..859e47a600cc 100644
--- a/drivers/ata/pata_jmicron.c
+++ b/drivers/ata/pata_jmicron.c
@@ -148,7 +148,6 @@ static struct ata_port_operations jmicron_ops = {
148static int jmicron_init_one (struct pci_dev *pdev, const struct pci_device_id *id) 148static int jmicron_init_one (struct pci_dev *pdev, const struct pci_device_id *id)
149{ 149{
150 static const struct ata_port_info info = { 150 static const struct ata_port_info info = {
151 .sht = &jmicron_sht,
152 .flags = ATA_FLAG_SLAVE_POSS, 151 .flags = ATA_FLAG_SLAVE_POSS,
153 152
154 .pio_mask = 0x1f, 153 .pio_mask = 0x1f,
@@ -159,7 +158,7 @@ static int jmicron_init_one (struct pci_dev *pdev, const struct pci_device_id *i
159 }; 158 };
160 const struct ata_port_info *ppi[] = { &info, NULL }; 159 const struct ata_port_info *ppi[] = { &info, NULL };
161 160
162 return ata_pci_init_one(pdev, ppi); 161 return ata_pci_init_one(pdev, ppi, &jmicron_sht);
163} 162}
164 163
165static const struct pci_device_id jmicron_pci_tbl[] = { 164static const struct pci_device_id jmicron_pci_tbl[] = {