Commit a51545ab authored by Andrew Morton's avatar Andrew Morton Committed by Bartlomiej Zolnierkiewicz

jmicron: fix warning

Signed-off-by: default avatarAndrew Morton <akpm@osdl.org>
Signed-off-by: default avatarBartlomiej Zolnierkiewicz <bzolnier@gmail.com>
parent 1e7106fc
...@@ -93,8 +93,9 @@ static int __devinit ata66_jmicron(ide_hwif_t *hwif) ...@@ -93,8 +93,9 @@ static int __devinit ata66_jmicron(ide_hwif_t *hwif)
return 0; return 0;
return 1; return 1;
case PORT_SATA: case PORT_SATA:
return 1; break;
} }
return 1; /* Avoid bogus "control reaches end of non-void function" */
} }
static void jmicron_tuneproc (ide_drive_t *drive, byte mode_wanted) static void jmicron_tuneproc (ide_drive_t *drive, byte mode_wanted)
......
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