[kernel] update to 2.6.31.5
[openwrt-10.03/.git] / target / linux / x86 / patches-2.6.31 / 100-pata_sc1200-wrap.patch
1 Index: linux-2.6.31.5/drivers/ata/pata_sc1200.c
2 ===================================================================
3 --- linux-2.6.31.5.orig/drivers/ata/pata_sc1200.c       2009-10-23 00:57:56.000000000 +0200
4 +++ linux-2.6.31.5/drivers/ata/pata_sc1200.c    2009-10-23 12:45:54.000000000 +0200
5 @@ -236,7 +236,7 @@
6                 .port_ops = &sc1200_port_ops
7         };
8         /* Can't enable port 2 yet, see top comments */
9 -       const struct ata_port_info *ppi[] = { &info, };
10 +       const struct ata_port_info *ppi[] = { &info, &ata_dummy_port_info };
11  
12         return ata_pci_sff_init_one(dev, ppi, &sc1200_sht, NULL);
13  }