File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -1655,9 +1655,9 @@ static void ahci_mark_external_port(struct ata_port *ap)
1655
1655
ap -> pflags |= ATA_PFLAG_EXTERNAL ;
1656
1656
}
1657
1657
1658
- static void ahci_update_initial_lpm_policy (struct ata_port * ap ,
1659
- struct ahci_host_priv * hpriv )
1658
+ static void ahci_update_initial_lpm_policy (struct ata_port * ap )
1660
1659
{
1660
+ struct ahci_host_priv * hpriv = ap -> host -> private_data ;
1661
1661
int policy = CONFIG_SATA_MOBILE_LPM_POLICY ;
1662
1662
1663
1663
@@ -1949,7 +1949,7 @@ static int ahci_init_one(struct pci_dev *pdev, const struct pci_device_id *ent)
1949
1949
1950
1950
ahci_mark_external_port (ap );
1951
1951
1952
- ahci_update_initial_lpm_policy (ap , hpriv );
1952
+ ahci_update_initial_lpm_policy (ap );
1953
1953
1954
1954
/* disabled/not-implemented port */
1955
1955
if (!(hpriv -> port_map & (1 << i )))
You can’t perform that action at this time.
0 commit comments