mirror of
https://github.com/followmsi/android_kernel_google_msm.git
synced 2024-09-22 12:42:50 +00:00
libata: sata_sis fixes
The sata_sis driver supports SATA and PATA ports. The broken support of both types in one controller is fixed. Signed-off-by: Uwe Koziolek <uwe.koziolek@gmx.net> Signed-off-by: Jeff Garzik <jeff@garzik.org>
This commit is contained in:
parent
7e068376c5
commit
ddfc87a098
1 changed files with 1 additions and 1 deletions
|
@ -255,7 +255,7 @@ static int sis_init_one (struct pci_dev *pdev, const struct pci_device_id *ent)
|
|||
{
|
||||
static int printed_version;
|
||||
struct ata_port_info pi = sis_port_info;
|
||||
const struct ata_port_info *ppi[] = { &pi, NULL };
|
||||
const struct ata_port_info *ppi[] = { &pi, &pi };
|
||||
struct ata_host *host;
|
||||
u32 genctl, val;
|
||||
u8 pmr;
|
||||
|
|
Loading…
Reference in a new issue