summaryrefslogtreecommitdiff
path: root/firmware/drivers
diff options
context:
space:
mode:
Diffstat (limited to 'firmware/drivers')
-rw-r--r--firmware/drivers/ata.c2
-rw-r--r--firmware/drivers/fat.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/firmware/drivers/ata.c b/firmware/drivers/ata.c
index 681160cf01..57164c4749 100644
--- a/firmware/drivers/ata.c
+++ b/firmware/drivers/ata.c
@@ -134,7 +134,7 @@ static void ata_lock_unlock(struct ata_lock *l)
134#define mutex_unlock ata_lock_unlock 134#define mutex_unlock ata_lock_unlock
135#endif /* MAX_PHYS_SECTOR_SIZE */ 135#endif /* MAX_PHYS_SECTOR_SIZE */
136 136
137static struct mutex ata_mtx NOCACHEBSS_ATTR; 137static struct mutex ata_mtx SHAREDBSS_ATTR;
138int ata_device; /* device 0 (master) or 1 (slave) */ 138int ata_device; /* device 0 (master) or 1 (slave) */
139 139
140int ata_spinup_time = 0; 140int ata_spinup_time = 0;
diff --git a/firmware/drivers/fat.c b/firmware/drivers/fat.c
index a538b92695..002e100405 100644
--- a/firmware/drivers/fat.c
+++ b/firmware/drivers/fat.c
@@ -201,7 +201,7 @@ struct fat_cache_entry
201 201
202static char fat_cache_sectors[FAT_CACHE_SIZE][SECTOR_SIZE]; 202static 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 SHAREDBSS_ATTR;
205 205
206#if defined(HAVE_HOTSWAP) && !defined(HAVE_MMC) /* A better condition ?? */ 206#if defined(HAVE_HOTSWAP) && !defined(HAVE_MMC) /* A better condition ?? */
207void fat_lock(void) 207void fat_lock(void)