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/fat.c | |
parent | 3662ad2ae3a9fb5ec5a7295bb606524e642bb840 (diff) | |
download | rockbox-dc7534bdb2a784ae9d5c9089237935ff405c3525.tar.gz rockbox-dc7534bdb2a784ae9d5c9089237935ff405c3525.zip |
preparations for hotswapping MMC
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5701 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'firmware/drivers/fat.c')
-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) | |||
482 | return 0; | 482 | return 0; |
483 | } | 483 | } |
484 | 484 | ||
485 | #ifdef HAVE_MULTIVOLUME | 485 | #ifdef HAVE_HOTSWAP |
486 | int fat_unmount(int volume, bool flush) | 486 | int fat_unmount(int volume, bool flush) |
487 | { | 487 | { |
488 | int rc; | 488 | int rc; |
@@ -511,7 +511,7 @@ int fat_unmount(int volume, bool flush) | |||
511 | fat_bpb->mounted = false; | 511 | fat_bpb->mounted = false; |
512 | return rc; | 512 | return rc; |
513 | } | 513 | } |
514 | #endif | 514 | #endif /* #ifdef HAVE_HOTSWAP */ |
515 | 515 | ||
516 | void fat_recalc_free(IF_MV_NONVOID(int volume)) | 516 | void fat_recalc_free(IF_MV_NONVOID(int volume)) |
517 | { | 517 | { |