aboutsummaryrefslogtreecommitdiffstats
path: root/sound
diff options
context:
space:
mode:
authorLinus Torvalds <torvalds@linux-foundation.org>2008-04-21 19:36:46 -0400
committerLinus Torvalds <torvalds@linux-foundation.org>2008-04-21 19:36:46 -0400
commite9b62693ae0a1e13ccc97a6792d9a7770c8d1b5b (patch)
treec676609730533fc1b7c5e01992e46b6eaf75f99b /sound
parent548453fd107f789f5f1bc2dc13cc432ceb3b5efd (diff)
parent838cb6aba4cebcf4fcd06b90e2adf890bef884ac (diff)
Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/juhl/trivial
* 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/juhl/trivial: (24 commits) DOC: A couple corrections and clarifications in USB doc. Generate a slightly more informative error msg for bad HZ fix typo "is" -> "if" in Makefile ext*: spelling fix prefered -> preferred DOCUMENTATION: Use newer DEFINE_SPINLOCK macro in docs. KEYS: Fix the comment to match the file name in rxrpc-type.h. RAID: remove trailing space from printk line DMA engine: typo fixes Remove unused MAX_NODES_SHIFT MAINTAINERS: Clarify access to OCFS2 development mailing list. V4L: Storage class should be before const qualifier (sn9c102) V4L: Storage class should be before const qualifier sonypi: Storage class should be before const qualifier intel_menlow: Storage class should be before const qualifier DVB: Storage class should be before const qualifier arm: Storage class should be before const qualifier ALSA: Storage class should be before const qualifier acpi: Storage class should be before const qualifier firmware_sample_driver.c: fix coding style MAINTAINERS: Add ati_remote2 driver ... Fixed up trivial conflicts in firmware_sample_driver.c
Diffstat (limited to 'sound')
-rw-r--r--sound/pci/sis7019.c6
-rw-r--r--sound/ppc/snd_ps3.c2
2 files changed, 4 insertions, 4 deletions
diff --git a/sound/pci/sis7019.c b/sound/pci/sis7019.c
index dcd7cd010461..742f1180c39e 100644
--- a/sound/pci/sis7019.c
+++ b/sound/pci/sis7019.c
@@ -920,7 +920,7 @@ static unsigned short sis_ac97_rw(struct sis7019 *sis, int codec, u32 cmd)
920 u16 status; 920 u16 status;
921 u16 rdy; 921 u16 rdy;
922 int count; 922 int count;
923 const static u16 codec_ready[3] = { 923 static const u16 codec_ready[3] = {
924 SIS_AC97_STATUS_CODEC_READY, 924 SIS_AC97_STATUS_CODEC_READY,
925 SIS_AC97_STATUS_CODEC2_READY, 925 SIS_AC97_STATUS_CODEC2_READY,
926 SIS_AC97_STATUS_CODEC3_READY, 926 SIS_AC97_STATUS_CODEC3_READY,
@@ -984,7 +984,7 @@ timeout:
984static void sis_ac97_write(struct snd_ac97 *ac97, unsigned short reg, 984static void sis_ac97_write(struct snd_ac97 *ac97, unsigned short reg,
985 unsigned short val) 985 unsigned short val)
986{ 986{
987 const static u32 cmd[3] = { 987 static const u32 cmd[3] = {
988 SIS_AC97_CMD_CODEC_WRITE, 988 SIS_AC97_CMD_CODEC_WRITE,
989 SIS_AC97_CMD_CODEC2_WRITE, 989 SIS_AC97_CMD_CODEC2_WRITE,
990 SIS_AC97_CMD_CODEC3_WRITE, 990 SIS_AC97_CMD_CODEC3_WRITE,
@@ -995,7 +995,7 @@ static void sis_ac97_write(struct snd_ac97 *ac97, unsigned short reg,
995 995
996static unsigned short sis_ac97_read(struct snd_ac97 *ac97, unsigned short reg) 996static unsigned short sis_ac97_read(struct snd_ac97 *ac97, unsigned short reg)
997{ 997{
998 const static u32 cmd[3] = { 998 static const u32 cmd[3] = {
999 SIS_AC97_CMD_CODEC_READ, 999 SIS_AC97_CMD_CODEC_READ,
1000 SIS_AC97_CMD_CODEC2_READ, 1000 SIS_AC97_CMD_CODEC2_READ,
1001 SIS_AC97_CMD_CODEC3_READ, 1001 SIS_AC97_CMD_CODEC3_READ,
diff --git a/sound/ppc/snd_ps3.c b/sound/ppc/snd_ps3.c
index d8d0b4b2395a..20d0e328288a 100644
--- a/sound/ppc/snd_ps3.c
+++ b/sound/ppc/snd_ps3.c
@@ -137,7 +137,7 @@ static inline void update_mask_reg(unsigned int reg, u32 mask, u32 or_val)
137/* 137/*
138 * ALSA defs 138 * ALSA defs
139 */ 139 */
140const static struct snd_pcm_hardware snd_ps3_pcm_hw = { 140static const struct snd_pcm_hardware snd_ps3_pcm_hw = {
141 .info = (SNDRV_PCM_INFO_MMAP | 141 .info = (SNDRV_PCM_INFO_MMAP |
142 SNDRV_PCM_INFO_NONINTERLEAVED | 142 SNDRV_PCM_INFO_NONINTERLEAVED |
143 SNDRV_PCM_INFO_MMAP_VALID), 143 SNDRV_PCM_INFO_MMAP_VALID),