From: Jeff Garzik Date: Fri, 25 May 2007 03:35:59 +0000 (-0400) Subject: [libata] sata_promise: fix flags typo X-Git-Tag: v2.6.22-rc3~3^2~7 X-Git-Url: http://pilppa.com/gitweb/?a=commitdiff_plain;h=bb312235933689fb0f973ae61d19d7416de1e085;p=linux-2.6-omap-h63xx.git [libata] sata_promise: fix flags typo A stray comma makes all the difference. Change to '|' as these flags should be or'd together. Signed-off-by: Jeff Garzik --- diff --git a/drivers/ata/sata_promise.c b/drivers/ata/sata_promise.c index 3a7d9b5332a..2b924a69b36 100644 --- a/drivers/ata/sata_promise.c +++ b/drivers/ata/sata_promise.c @@ -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 */