Re: ALSA update broke Sparc

From: Takashi Iwai
Date: Wed Sep 01 2004 - 03:14:09 EST


At Tue, 31 Aug 2004 13:56:51 -0700,
David S. Miller wrote:
>
> On Tue, 31 Aug 2004 21:07:19 +0200
> Takashi Iwai <tiwai@xxxxxxx> wrote:
>
> > I fixed/updated the ALSA pcm layer.
> >
> > David, could you try the attached patch? With this, the problematic
> > part will be disabled on sparc (it won't work on every architecture,
> > anyway).
>
> Generates lots of warnings like this:
>
> CC [M] drivers/i2c/chips/smsc47m1.o
> In file included from sound/pci/au88x0/au88x0.h:26,
> from sound/pci/au88x0/au8820.c:2:
> include/sound/pcm.h:960:1: warning: "SNDRV_PCM_INFO_MMAP" redefined
> In file included from include/sound/pcm.h:26,
> from sound/pci/au88x0/au88x0.h:26,
> from sound/pci/au88x0/au8820.c:2:
> include/sound/asound.h:264:1: warning: this is the location of the previous definition

Sorry, a silly typo.

Takashi


--- linux/include/sound/pcm.h-dist 2004-09-01 10:10:16.038394555 +0200
+++ linux/include/sound/pcm.h 2004-09-01 10:10:21.377184781 +0200
@@ -957,7 +957,7 @@ static inline void snd_pcm_mmap_data_clo
#define SNDRV_PCM_INFO_MMAP_IOMEM SNDRV_PCM_INFO_MMAP
int snd_pcm_lib_mmap_iomem(snd_pcm_substream_t *substream, struct vm_area_struct *area);
#else
-#define SNDRV_PCM_INFO_MMAP 0
+#define SNDRV_PCM_INFO_MMAP_IOMEM 0
#define snd_pcm_lib_mmap_iomem NULL
#endif

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/