Commit 393e70b3 authored by Rusty Russell's avatar Rusty Russell Committed by Linus Torvalds

[PATCH] Remove compile warning from drivers_ide_pci_cs5520.c

From:  Bob Miller <rem@osdl.org>

  The function, cs5520_tune_chipset() is declared to return an int.
  Added a return statement instead of just falling of off the bottom.
parent 53da798e
......@@ -166,6 +166,8 @@ static int cs5520_tune_chipset(ide_drive_t *drive, u8 xferspeed)
/* 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)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment