x86: fix software raid autodetection on boot (patch from #6548 by Pieter "Fate" Hollants)
[openwrt/svn-archive/archive.git] / target / linux / x86 / patches-2.6.30 / 100-pata_sc1200-wrap.patch
1 --- a/drivers/ata/pata_sc1200.c
2 +++ b/drivers/ata/pata_sc1200.c
3 @@ -236,7 +236,7 @@ static int sc1200_init_one(struct pci_de
4 .port_ops = &sc1200_port_ops
5 };
6 /* Can't enable port 2 yet, see top comments */
7 - const struct ata_port_info *ppi[] = { &info, };
8 + const struct ata_port_info *ppi[] = { &info, &ata_dummy_port_info };
9
10 return ata_pci_sff_init_one(dev, ppi, &sc1200_sht, NULL);
11 }