summaryrefslogtreecommitdiffstats
path: root/firmware
diff options
context:
space:
mode:
Diffstat (limited to 'firmware')
-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)
}
int ata_read_sectors(
-#ifdef HAVE_MULTIVOLUME
- int drive,
-#endif
+ IF_MV2(int drive,)
unsigned long start,
int incount,
void* inbuf)
@@ -670,10 +668,7 @@ int ata_read_sectors(
return ret;
}
-int ata_write_sectors(
-#ifdef HAVE_MULTIVOLUME
- int drive,
-#endif
+int ata_write_sectors(IF_MV2(int drive,)
unsigned long start,
int count,
const void* buf)