openwrtv3/target/linux/x86/patches-2.6.30/100-pata_sc1200-wrap.patch
Florian Fainelli d6c8f9b9f5 refresh kernel patches
SVN-Revision: 18281
2009-11-03 01:12:48 +00:00

11 lines
398 B
Diff

--- a/drivers/ata/pata_sc1200.c
+++ b/drivers/ata/pata_sc1200.c
@@ -236,7 +236,7 @@ static int sc1200_init_one(struct pci_de
.port_ops = &sc1200_port_ops
};
/* Can't enable port 2 yet, see top comments */
- const struct ata_port_info *ppi[] = { &info, };
+ const struct ata_port_info *ppi[] = { &info, &ata_dummy_port_info };
return ata_pci_sff_init_one(dev, ppi, &sc1200_sht, NULL);
}