From: Andrew Morton Date: Thu, 11 Jan 2007 01:20:34 +0000 (-0800) Subject: libata piix3 support warning fix X-Git-Tag: v2.6.21-rc1~274^2~514 X-Git-Url: http://pilppa.com/gitweb/?a=commitdiff_plain;h=dedf61db4f689b12c448b48426330290f98ed321;p=linux-2.6-omap-h63xx.git libata piix3 support warning fix Signed-off-by: Andrew Morton Signed-off-by: Jeff Garzik --- diff --git a/drivers/ata/ata_piix.c b/drivers/ata/ata_piix.c index 33bbeac785c..f15ef88ba00 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 u16 master_data; u8 speed = adev->dma_mode; int devid = adev->devno + 2 * ap->port_no; - u8 udma_enable; + u8 udma_enable = 0; static const /* ISP RTC */ u8 timings[][2] = { { 0, 0 },