diff options
Diffstat (limited to 'sound/pci/emu10k1/emufx.c')
-rw-r--r-- | sound/pci/emu10k1/emufx.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sound/pci/emu10k1/emufx.c b/sound/pci/emu10k1/emufx.c index 7b173c496953..c02012cccd8e 100644 --- a/sound/pci/emu10k1/emufx.c +++ b/sound/pci/emu10k1/emufx.c | |||
@@ -296,7 +296,7 @@ static const u32 db_table[101] = { | |||
296 | }; | 296 | }; |
297 | 297 | ||
298 | /* EMU10k1/EMU10k2 DSP control db gain */ | 298 | /* EMU10k1/EMU10k2 DSP control db gain */ |
299 | static DECLARE_TLV_DB_SCALE(snd_emu10k1_db_scale1, -4000, 40, 1); | 299 | static const DECLARE_TLV_DB_SCALE(snd_emu10k1_db_scale1, -4000, 40, 1); |
300 | 300 | ||
301 | static const u32 onoff_table[2] = { | 301 | static const u32 onoff_table[2] = { |
302 | 0x00000000, 0x00000001 | 302 | 0x00000000, 0x00000001 |
@@ -657,7 +657,7 @@ snd_emu10k1_look_for_ctl(struct snd_emu10k1 *emu, struct snd_ctl_elem_id *id) | |||
657 | 657 | ||
658 | #define MAX_TLV_SIZE 256 | 658 | #define MAX_TLV_SIZE 256 |
659 | 659 | ||
660 | static unsigned int *copy_tlv(unsigned int __user *_tlv) | 660 | static unsigned int *copy_tlv(const unsigned int __user *_tlv) |
661 | { | 661 | { |
662 | unsigned int data[2]; | 662 | unsigned int data[2]; |
663 | unsigned int *tlv; | 663 | unsigned int *tlv; |