diff options
Diffstat (limited to 'include/sound/pcm.h')
-rw-r--r-- | include/sound/pcm.h | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/include/sound/pcm.h b/include/sound/pcm.h index deff5a92efa6..73334e0f823f 100644 --- a/include/sound/pcm.h +++ b/include/sound/pcm.h | |||
@@ -603,11 +603,8 @@ do { \ | |||
603 | read_unlock_irqrestore(&snd_pcm_link_rwlock, (flags)); \ | 603 | read_unlock_irqrestore(&snd_pcm_link_rwlock, (flags)); \ |
604 | } while (0) | 604 | } while (0) |
605 | 605 | ||
606 | #define snd_pcm_group_for_each(pos, substream) \ | 606 | #define snd_pcm_group_for_each_entry(s, substream) \ |
607 | list_for_each(pos, &substream->group->substreams) | 607 | list_for_each_entry(s, &substream->group->substreams, link_list) |
608 | |||
609 | #define snd_pcm_group_substream_entry(pos) \ | ||
610 | list_entry(pos, struct snd_pcm_substream, link_list) | ||
611 | 608 | ||
612 | static inline int snd_pcm_running(struct snd_pcm_substream *substream) | 609 | static inline int snd_pcm_running(struct snd_pcm_substream *substream) |
613 | { | 610 | { |