From dc7534bdb2a784ae9d5c9089237935ff405c3525 Mon Sep 17 00:00:00 2001 From: Jörg Hohensohn Date: Fri, 28 Jan 2005 21:32:16 +0000 Subject: preparations for hotswapping MMC git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5701 a1c6a512-1295-4272-9138-f99709370657 --- firmware/drivers/fat.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'firmware/drivers/fat.c') diff --git a/firmware/drivers/fat.c b/firmware/drivers/fat.c index 3adca5e864..78aebd2e2b 100644 --- a/firmware/drivers/fat.c +++ b/firmware/drivers/fat.c @@ -482,7 +482,7 @@ int fat_mount(IF_MV2(int volume,) IF_MV2(int drive,) long startsector) return 0; } -#ifdef HAVE_MULTIVOLUME +#ifdef HAVE_HOTSWAP int fat_unmount(int volume, bool flush) { int rc; @@ -511,7 +511,7 @@ int fat_unmount(int volume, bool flush) fat_bpb->mounted = false; return rc; } -#endif +#endif /* #ifdef HAVE_HOTSWAP */ void fat_recalc_free(IF_MV_NONVOID(int volume)) { -- cgit v1.2.3