projects
/
GitHub
/
MotorolaMobilityLLC
/
kernel-slsi.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
eb41dab
)
[ALSA] add struct snd_pcm_substream forward declaration
author
Randy Dunlap
<randy.dunlap@oracle.com>
Thu, 7 Dec 2006 07:22:50 +0000
(08:22 +0100)
committer
Jaroslav Kysela
<perex@suse.cz>
Fri, 9 Feb 2007 08:02:19 +0000
(09:02 +0100)
fixes: include/sound/pcm.h:62: warning: 'struct snd_pcm_substream' declared
inside parameter list
Signed-off-by: Randy Dunlap <randy.dunlap@oracle.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Jaroslav Kysela <perex@suse.cz>
include/sound/pcm.h
patch
|
blob
|
blame
|
history
diff --git
a/include/sound/pcm.h
b/include/sound/pcm.h
index ec006ed8cd59100c6c0710a9ec7cb19061837d24..ee6bc2d0680321f4b7d10af1d2c1c3d16c2b98e8 100644
(file)
--- a/
include/sound/pcm.h
+++ b/
include/sound/pcm.h
@@
-56,6
+56,8
@@
struct snd_pcm_hardware {
size_t fifo_size; /* fifo size in bytes */
};
+struct snd_pcm_substream;
+
struct snd_pcm_ops {
int (*open)(struct snd_pcm_substream *substream);
int (*close)(struct snd_pcm_substream *substream);