1
0
mirror of git://projects.qi-hardware.com/openwrt-xburst.git synced 2024-09-13 10:59:17 +03:00
openwrt-xburst/target/linux/x86/patches-2.6.31/100-pata_sc1200-wrap.patch
florian 90c331955e [x86] add olpc 2.6.31 configuration, forward port the block2mtd patch, refresh patches
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@18333 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-11-07 12:32:25 +00:00

12 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);
}