diff options
author | Michael Sevakis <jethead71@rockbox.org> | 2008-03-12 11:08:41 +0000 |
---|---|---|
committer | Michael Sevakis <jethead71@rockbox.org> | 2008-03-12 11:08:41 +0000 |
commit | e37044ff1d3406994fc6e07077a593f0ae95f8d7 (patch) | |
tree | ee369ba42dd9576c4fc1023451c683d3ddaf8a01 /firmware/drivers | |
parent | 06a5299aff38ba25c7742ae6293c588e38445f8b (diff) | |
download | rockbox-e37044ff1d3406994fc6e07077a593f0ae95f8d7.tar.gz rockbox-e37044ff1d3406994fc6e07077a593f0ae95f8d7.zip |
Hotswap code shuffling: Fix yellow. Simplify some target function access. Keep fat lock access from compiling for Ondios - think of a nicer way later.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16637 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'firmware/drivers')
-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 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]; | |||
203 | static struct fat_cache_entry fat_cache[FAT_CACHE_SIZE]; | 203 | static struct fat_cache_entry fat_cache[FAT_CACHE_SIZE]; |
204 | static struct mutex cache_mutex NOCACHEBSS_ATTR; | 204 | static struct mutex cache_mutex NOCACHEBSS_ATTR; |
205 | 205 | ||
206 | #ifdef HAVE_HOTSWAP | 206 | #if defined(HAVE_HOTSWAP) && !defined(HAVE_MMC) /* A better condition ?? */ |
207 | void fat_lock(void) | 207 | void fat_lock(void) |
208 | { | 208 | { |
209 | mutex_lock(&cache_mutex); | 209 | mutex_lock(&cache_mutex); |