summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBertrik Sikken <bertrik@sikken.nl>2008-07-18 22:32:44 +0000
committerBertrik Sikken <bertrik@sikken.nl>2008-07-18 22:32:44 +0000
commit70dd64d23d9bca166f7d66f102084acba54f9143 (patch)
tree61d53143571c48630f84b5cc3d0adbf3138c225a
parent9569de0fe1189a1c63e9ee764cf1d8b7db90b6fe (diff)
downloadrockbox-70dd64d23d9bca166f7d66f102084acba54f9143.zip
rockbox-70dd64d23d9bca166f7d66f102084acba54f9143.tar.gz
rockbox-70dd64d23d9bca166f7d66f102084acba54f9143.tar.bz2
rockbox-70dd64d23d9bca166f7d66f102084acba54f9143.tar.xz
Make local variable static
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@18089 a1c6a512-1295-4272-9138-f99709370657
-rw-r--r--firmware/drivers/ata.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/firmware/drivers/ata.c b/firmware/drivers/ata.c
index d208f9d..55e4892 100644
--- a/firmware/drivers/ata.c
+++ b/firmware/drivers/ata.c
@@ -142,7 +142,7 @@ static void ata_lock_unlock(struct ata_lock *l)
#endif /* MAX_PHYS_SECTOR_SIZE */
static struct mutex ata_mtx SHAREDBSS_ATTR;
-int ata_device; /* device 0 (master) or 1 (slave) */
+static int ata_device; /* device 0 (master) or 1 (slave) */
int ata_spinup_time = 0;
#if (CONFIG_LED == LED_REAL)