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.zip rockbox-e37044ff1d3406994fc6e07077a593f0ae95f8d7.tar.gz rockbox-e37044ff1d3406994fc6e07077a593f0ae95f8d7.tar.bz2 rockbox-e37044ff1d3406994fc6e07077a593f0ae95f8d7.tar.xz | |
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 f3374fc..8ae3b70 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]; static struct fat_cache_entry fat_cache[FAT_CACHE_SIZE]; static struct mutex cache_mutex NOCACHEBSS_ATTR; -#ifdef HAVE_HOTSWAP +#if defined(HAVE_HOTSWAP) && !defined(HAVE_MMC) /* A better condition ?? */ void fat_lock(void) { mutex_lock(&cache_mutex); |