summaryrefslogtreecommitdiff
path: root/firmware/drivers/fat.c
diff options
context:
space:
mode:
Diffstat (limited to 'firmware/drivers/fat.c')
-rw-r--r--firmware/drivers/fat.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/firmware/drivers/fat.c b/firmware/drivers/fat.c
index f3374fc4c4..8ae3b70cd3 100644
--- a/firmware/drivers/fat.c
+++ b/firmware/drivers/fat.c
@@ -203,7 +203,7 @@ static char fat_cache_sectors[FAT_CACHE_SIZE][SECTOR_SIZE];
203static struct fat_cache_entry fat_cache[FAT_CACHE_SIZE]; 203static struct fat_cache_entry fat_cache[FAT_CACHE_SIZE];
204static struct mutex cache_mutex NOCACHEBSS_ATTR; 204static struct mutex cache_mutex NOCACHEBSS_ATTR;
205 205
206#ifdef HAVE_HOTSWAP 206#if defined(HAVE_HOTSWAP) && !defined(HAVE_MMC) /* A better condition ?? */
207void fat_lock(void) 207void fat_lock(void)
208{ 208{
209 mutex_lock(&cache_mutex); 209 mutex_lock(&cache_mutex);