diff options
Diffstat (limited to 'firmware/drivers/fat.c')
-rw-r--r-- | firmware/drivers/fat.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/firmware/drivers/fat.c b/firmware/drivers/fat.c index 3130a3e2b4..90be93f4f4 100644 --- a/firmware/drivers/fat.c +++ b/firmware/drivers/fat.c | |||
@@ -204,7 +204,7 @@ static char fat_cache_sectors[FAT_CACHE_SIZE][SECTOR_SIZE]; | |||
204 | static struct fat_cache_entry fat_cache[FAT_CACHE_SIZE]; | 204 | static struct fat_cache_entry fat_cache[FAT_CACHE_SIZE]; |
205 | static struct mutex cache_mutex SHAREDBSS_ATTR; | 205 | static struct mutex cache_mutex SHAREDBSS_ATTR; |
206 | 206 | ||
207 | #if defined(HAVE_HOTSWAP) && !defined(HAVE_MMC) /* A better condition ?? */ | 207 | #if defined(HAVE_HOTSWAP) && !(CONFIG_STORAGE & STORAGE_MMC) /* A better condition ?? */ |
208 | void fat_lock(void) | 208 | void fat_lock(void) |
209 | { | 209 | { |
210 | mutex_lock(&cache_mutex); | 210 | mutex_lock(&cache_mutex); |