summaryrefslogtreecommitdiffstats
path: root/target/linux/x86/patches-2.6.31/100-pata_sc1200-wrap.patch
blob: 691d1ca852d610d4956780ba5747d68873206b84 (plain)
1
2
3
4
5
6
7
8
9
10
11
--- a/drivers/ata/pata_sc1200.c
+++ b/drivers/ata/pata_sc1200.c
@@ -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);
 }