diff options
author | Vivek Goyal <vgoyal@redhat.com> | 2010-09-26 12:23:25 +0900 |
---|---|---|
committer | Jens Axboe <jaxboe@fusionio.com> | 2010-09-26 12:23:25 +0900 |
commit | 504c6d1b44bc6e694bdba8d9a2a4e046275b5e2b (patch) | |
tree | 3dc50274aabbb2d3bcf17a9f088444a2cacea929 /drivers | |
parent | 639e2f2aa76eefaf22078dccbbf2f3483f587aa7 (diff) | |
download | op-kernel-dev-504c6d1b44bc6e694bdba8d9a2a4e046275b5e2b.zip op-kernel-dev-504c6d1b44bc6e694bdba8d9a2a4e046275b5e2b.tar.gz |
amiga floppy: Compile failure fixes
o Compile fixes for amiga floppy driver.
Signed-off-by: Vivek Goyal <vgoyal@redhat.com>
Signed-off-by: Jens Axboe <jaxboe@fusionio.com>
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/block/amiflop.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/drivers/block/amiflop.c b/drivers/block/amiflop.c index ead8b77..327ed27 100644 --- a/drivers/block/amiflop.c +++ b/drivers/block/amiflop.c @@ -1347,12 +1347,12 @@ static struct request *set_next_request(void) if (fdc_queue == FD_MAX_UNITS) fdc_queue = 0; - for(cnt = FD_MAX_UNITS; cnt > 0, cnt--) { + for(cnt = FD_MAX_UNITS; cnt > 0; cnt--) { if (unit[fdc_queue].type->code == FD_NODRIVE) { if (++fdc_queue == FD_MAX_UNITS) fdc_queue = 0; - cotinue; + continue; } q = unit[fdc_queue].gendisk->queue; @@ -1827,7 +1827,6 @@ static int __init amiga_floppy_probe(struct platform_device *pdev) return 0; out_probe: -out_queue: free_irq(IRQ_AMIGA_CIAA_TB, NULL); out_irq2: free_irq(IRQ_AMIGA_DSKBLK, NULL); |