aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAndrew Morton <akpm@osdl.org>2007-01-10 20:20:34 -0500
committerJeff Garzik <jeff@garzik.org>2007-02-09 17:39:34 -0500
commitdedf61db4f689b12c448b48426330290f98ed321 (patch)
tree50a175d1a4d4429259f66d37c60750ff13dbceca
parentd2cdfc0db39247518585db13a3abdc633a158e0e (diff)
libata piix3 support warning fix
Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Jeff Garzik <jeff@garzik.org>
-rw-r--r--drivers/ata/ata_piix.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/ata/ata_piix.c b/drivers/ata/ata_piix.c
index 33bbeac785cc..f15ef88ba00c 100644
--- a/drivers/ata/ata_piix.c
+++ b/drivers/ata/ata_piix.c
@@ -788,7 +788,7 @@ static void do_pata_set_dmamode (struct ata_port *ap, struct ata_device *adev, i
788 u16 master_data; 788 u16 master_data;
789 u8 speed = adev->dma_mode; 789 u8 speed = adev->dma_mode;
790 int devid = adev->devno + 2 * ap->port_no; 790 int devid = adev->devno + 2 * ap->port_no;
791 u8 udma_enable; 791 u8 udma_enable = 0;
792 792
793 static const /* ISP RTC */ 793 static const /* ISP RTC */
794 u8 timings[][2] = { { 0, 0 }, 794 u8 timings[][2] = { { 0, 0 },