diff options
author | Frank Gevaerts <frank@gevaerts.be> | 2008-10-31 21:25:04 +0000 |
---|---|---|
committer | Frank Gevaerts <frank@gevaerts.be> | 2008-10-31 21:25:04 +0000 |
commit | 19d1cacb1a63c306d842f81127d382512c49a062 (patch) | |
tree | bac051d18aae2c9f201744890177e0021e5269be /firmware/drivers/fat.c | |
parent | 3aa58328080ab9a254d9f2329696fa4309a30d50 (diff) | |
download | rockbox-19d1cacb1a63c306d842f81127d382512c49a062.tar.gz rockbox-19d1cacb1a63c306d842f81127d382512c49a062.zip |
cleanup storage defines
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@18950 a1c6a512-1295-4272-9138-f99709370657
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); |