summaryrefslogtreecommitdiff
path: root/firmware/target/arm/tms320dm320/spi-dm320.c
diff options
context:
space:
mode:
authorBertrik Sikken <bertrik@sikken.nl>2010-07-31 12:43:38 +0000
committerBertrik Sikken <bertrik@sikken.nl>2010-07-31 12:43:38 +0000
commit4a8ea6c9d9b0db1de59ee4d2b9cc0125caa990c7 (patch)
treea3c6697c6de315cfab1f839191b1d62293978bca /firmware/target/arm/tms320dm320/spi-dm320.c
parentc2529c341d4ecb8bea28f99f0f9e28e70c311487 (diff)
Various minor clean-ups for Zen Vision
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27636 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'firmware/target/arm/tms320dm320/spi-dm320.c')
-rw-r--r--firmware/target/arm/tms320dm320/spi-dm320.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/firmware/target/arm/tms320dm320/spi-dm320.c b/firmware/target/arm/tms320dm320/spi-dm320.c
index 222228aa8d..12ce0e0d5e 100644
--- a/firmware/target/arm/tms320dm320/spi-dm320.c
+++ b/firmware/target/arm/tms320dm320/spi-dm320.c
@@ -33,7 +33,7 @@
#define GIO_BL_ENABLE (1<<13)
#define GIO_LCD_ENABLE (1<<5)
-struct mutex spi_mtx;
+static struct mutex spi_mtx;
struct SPI_info {
volatile unsigned short *setreg;
@@ -43,7 +43,7 @@ struct SPI_info {
char divider;
};
-struct SPI_info spi_targets[] =
+static struct SPI_info spi_targets[] =
{
#ifndef CREATIVE_ZVx
[SPI_target_TSC2100] = { &IO_GIO_BITCLR1, &IO_GIO_BITSET1,