diff options
author | Andrew Morton <akpm@osdl.org> | 2007-01-11 02:20:34 +0100 |
---|---|---|
committer | Jeff Garzik <jeff@garzik.org> | 2007-02-09 23:39:34 +0100 |
commit | dedf61db4f689b12c448b48426330290f98ed321 (patch) | |
tree | 50a175d1a4d4429259f66d37c60750ff13dbceca /drivers | |
parent | libata: PIIX3 support (diff) | |
download | linux-dedf61db4f689b12c448b48426330290f98ed321.tar.xz linux-dedf61db4f689b12c448b48426330290f98ed321.zip |
libata piix3 support warning fix
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Jeff Garzik <jeff@garzik.org>
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/ata/ata_piix.c | 2 |
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 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 }, |