diff options
author | Jörg Hohensohn <hohensoh@rockbox.org> | 2005-01-28 21:32:16 +0000 |
---|---|---|
committer | Jörg Hohensohn <hohensoh@rockbox.org> | 2005-01-28 21:32:16 +0000 |
commit | dc7534bdb2a784ae9d5c9089237935ff405c3525 (patch) | |
tree | e12e3eab71cbd72605d661ea026c70127d633cb3 /firmware/drivers | |
parent | 3662ad2ae3a9fb5ec5a7295bb606524e642bb840 (diff) |
preparations for hotswapping MMC
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5701 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'firmware/drivers')
-rw-r--r-- | firmware/drivers/fat.c | 4 |
1 files changed, 2 insertions, 2 deletions
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)) { |