]> pilppa.com Git - linux-2.6-omap-h63xx.git/commitdiff
[libata] sata_promise: fix flags typo
authorJeff Garzik <jeff@garzik.org>
Fri, 25 May 2007 03:35:59 +0000 (23:35 -0400)
committerJeff Garzik <jeff@garzik.org>
Fri, 25 May 2007 03:35:59 +0000 (23:35 -0400)
A stray comma makes all the difference.  Change to '|' as these flags
should be or'd together.

Signed-off-by: Jeff Garzik <jeff@garzik.org>
drivers/ata/sata_promise.c

index 3a7d9b5332af93fd8daf709613a190aa8ab849b2..2b924a69b365cfda37d7b6acd705c2b567672e84 100644 (file)
@@ -297,7 +297,7 @@ static const struct ata_port_info pdc_port_info[] = {
 
        /* board_2057x_pata */
        {
-               .flags          = PDC_COMMON_FLAGS | ATA_FLAG_SLAVE_POSS,
+               .flags          = PDC_COMMON_FLAGS | ATA_FLAG_SLAVE_POSS |
                                  PDC_FLAG_GEN_II,
                .pio_mask       = 0x1f, /* pio0-4 */
                .mwdma_mask     = 0x07, /* mwdma0-2 */