* include/sound/soc-dai.h: "codec" declared twice
@ 2009-04-28 19:33 Jeff Garzik
0 siblings, 0 replies; only message in thread
From: Jeff Garzik @ 2009-04-28 19:33 UTC (permalink / raw)
To: LKML; +Cc: Takashi Iwai, Al Viro
Compiling with LLVM's clang yielded this:
> include/sound/soc-dai.h:224:25: error: member of anonymous union redeclares 'codec'
> struct snd_soc_codec *codec;
> ^
> include/sound/soc-dai.h:214:24: note: previous declaration is here
> struct snd_soc_codec *codec;
> ^
> 2 diagnostics generated.
And indeed, we see
struct snd_soc_dai {
[...]
/* DAI runtime info */
struct snd_pcm_runtime *runtime;
struct snd_soc_codec *codec;
[...]
/* parent codec/platform */
union {
struct snd_soc_codec *codec;
struct snd_soc_platform *platform;
};
struct list_head list;
};
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2009-04-28 19:33 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-04-28 19:33 include/sound/soc-dai.h: "codec" declared twice Jeff Garzik
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox