1
0
mirror of git://projects.qi-hardware.com/openwrt-xburst.git synced 2024-11-14 23:20:37 +02:00
openwrt-xburst/target/linux/x86/patches-2.6.31/100-pata_sc1200-wrap.patch
florian 1c583f3a1f [kernel] update to 2.6.31.5
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@18127 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-10-23 12:13:00 +00:00

14 lines
576 B
Diff

Index: linux-2.6.31.5/drivers/ata/pata_sc1200.c
===================================================================
--- linux-2.6.31.5.orig/drivers/ata/pata_sc1200.c 2009-10-23 00:57:56.000000000 +0200
+++ linux-2.6.31.5/drivers/ata/pata_sc1200.c 2009-10-23 12:45:54.000000000 +0200
@@ -236,7 +236,7 @@
.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);
}