summaryrefslogtreecommitdiffstats
path: root/firmware/drivers/audio/uda1380.c
diff options
context:
space:
mode:
Diffstat (limited to 'firmware/drivers/audio/uda1380.c')
-rw-r--r--firmware/drivers/audio/uda1380.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/firmware/drivers/audio/uda1380.c b/firmware/drivers/audio/uda1380.c
index c9fef1d9ab..fd32b398ca 100644
--- a/firmware/drivers/audio/uda1380.c
+++ b/firmware/drivers/audio/uda1380.c
@@ -85,14 +85,14 @@ int tenthdb2mixer(int db)
/* ------------------------------------------------- */
static int uda1380_write_reg(unsigned char reg, unsigned short value);
-unsigned short uda1380_regs[0x30];
-short recgain_mic;
-short recgain_line;
+static unsigned short uda1380_regs[0x30];
+static short recgain_mic;
+static short recgain_line;
/* Definition of a playback configuration to start with */
#define NUM_DEFAULT_REGS 13
-unsigned short uda1380_defaults[2*NUM_DEFAULT_REGS] =
+static const unsigned short uda1380_defaults[2*NUM_DEFAULT_REGS] =
{
REG_0, EN_DAC | EN_INT | EN_DEC |
#ifdef USE_WSPLL