summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJörg Hohensohn <hohensoh@rockbox.org>2004-12-29 22:50:34 +0000
committerJörg Hohensohn <hohensoh@rockbox.org>2004-12-29 22:50:34 +0000
commit2ab64c91523b09d11316626cd66d0451f88b894f (patch)
tree0e992f7c5d01d99ed7471661c509a938e01eb8c9
parent575c9049f6bbcb3b5c8d4b51aeec9cc95d9fdf13 (diff)
downloadrockbox-2ab64c91523b09d11316626cd66d0451f88b894f.tar.gz
rockbox-2ab64c91523b09d11316626cd66d0451f88b894f.zip
cosmetic: use the IF_MV2() macro for optional arguments
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5521 a1c6a512-1295-4272-9138-f99709370657
-rw-r--r--firmware/drivers/ata_mmc.c9
1 files changed, 2 insertions, 7 deletions
diff --git a/firmware/drivers/ata_mmc.c b/firmware/drivers/ata_mmc.c
index d75309547f..ba79cc516a 100644
--- a/firmware/drivers/ata_mmc.c
+++ b/firmware/drivers/ata_mmc.c
@@ -609,9 +609,7 @@ static int send_single_sector(const unsigned char *buf, int timeout)
609} 609}
610 610
611int ata_read_sectors( 611int ata_read_sectors(
612#ifdef HAVE_MULTIVOLUME 612 IF_MV2(int drive,)
613 int drive,
614#endif
615 unsigned long start, 613 unsigned long start,
616 int incount, 614 int incount,
617 void* inbuf) 615 void* inbuf)
@@ -670,10 +668,7 @@ int ata_read_sectors(
670 return ret; 668 return ret;
671} 669}
672 670
673int ata_write_sectors( 671int ata_write_sectors(IF_MV2(int drive,)
674#ifdef HAVE_MULTIVOLUME
675 int drive,
676#endif
677 unsigned long start, 672 unsigned long start,
678 int count, 673 int count,
679 const void* buf) 674 const void* buf)