diff options
Diffstat (limited to 'drivers/scsi/sata_uli.c')
| -rw-r--r-- | drivers/scsi/sata_uli.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/scsi/sata_uli.c b/drivers/scsi/sata_uli.c index 4c9fb8b71be1..d68dc7d3422c 100644 --- a/drivers/scsi/sata_uli.c +++ b/drivers/scsi/sata_uli.c | |||
| @@ -90,7 +90,7 @@ static Scsi_Host_Template uli_sht = { | |||
| 90 | .ordered_flush = 1, | 90 | .ordered_flush = 1, |
| 91 | }; | 91 | }; |
| 92 | 92 | ||
| 93 | static struct ata_port_operations uli_ops = { | 93 | static const struct ata_port_operations uli_ops = { |
| 94 | .port_disable = ata_port_disable, | 94 | .port_disable = ata_port_disable, |
| 95 | 95 | ||
| 96 | .tf_load = ata_tf_load, | 96 | .tf_load = ata_tf_load, |
| @@ -202,7 +202,7 @@ static int uli_init_one (struct pci_dev *pdev, const struct pci_device_id *ent) | |||
| 202 | goto err_out_regions; | 202 | goto err_out_regions; |
| 203 | 203 | ||
| 204 | ppi = &uli_port_info; | 204 | ppi = &uli_port_info; |
| 205 | probe_ent = ata_pci_init_native_mode(pdev, &ppi); | 205 | probe_ent = ata_pci_init_native_mode(pdev, &ppi, ATA_PORT_PRIMARY | ATA_PORT_SECONDARY); |
| 206 | if (!probe_ent) { | 206 | if (!probe_ent) { |
| 207 | rc = -ENOMEM; | 207 | rc = -ENOMEM; |
| 208 | goto err_out_regions; | 208 | goto err_out_regions; |
