[TRIVIAL PATCH 2.5.51] Remove compile warning from drivers/ide/pci/cs5520.c

Bob Miller (rem@osdl.org)
Wed, 11 Dec 2002 14:28:10 -0800


The function, cs5520_tune_chipset() is declared to return an int.
Added a return statement instead of just falling of off the bottom.

diff -Nru a/drivers/ide/pci/cs5520.c b/drivers/ide/pci/cs5520.c
--- a/drivers/ide/pci/cs5520.c Wed Dec 11 13:41:51 2002
+++ b/drivers/ide/pci/cs5520.c Wed Dec 11 13:41:51 2002
@@ -166,6 +166,8 @@
/* ATAPI is harder so leave it for now */
if(!error && drive->media == ide_disk)
error = hwif->ide_dma_on(drive);
+
+ return error;
}

static void cs5520_tune_drive(ide_drive_t *drive, u8 pio)

-- 
Bob Miller					Email: rem@osdl.org
Open Source Development Lab			Phone: 503.626.2455 Ext. 17
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/