aboutsummaryrefslogtreecommitdiff
path: root/audio/esdaudio.c
diff options
context:
space:
mode:
authorJuan Quintela <quintela@redhat.com>2009-08-11 02:31:15 +0200
committermalc <av1474@comtv.ru>2009-08-11 20:51:24 +0400
commit1dd3e4d13d0d59de61de518c9e504cb444782510 (patch)
tree3cff62b8d75f2548720f3dfa17aed7ade86af468 /audio/esdaudio.c
parent2700efa3236d20879473d6b9c612f882a1b43dda (diff)
use C99 initializers for audio_pcm_ops
Signed-off-by: Juan Quintela <quintela@redhat.com>
Diffstat (limited to 'audio/esdaudio.c')
-rw-r--r--audio/esdaudio.c22
1 files changed, 11 insertions, 11 deletions
diff --git a/audio/esdaudio.c b/audio/esdaudio.c
index 83c18964fe..23e488a88c 100644
--- a/audio/esdaudio.c
+++ b/audio/esdaudio.c
@@ -571,17 +571,17 @@ struct audio_option qesd_options[] = {
};
static struct audio_pcm_ops qesd_pcm_ops = {
- qesd_init_out,
- qesd_fini_out,
- qesd_run_out,
- qesd_write,
- qesd_ctl_out,
-
- qesd_init_in,
- qesd_fini_in,
- qesd_run_in,
- qesd_read,
- qesd_ctl_in,
+ .init_out = qesd_init_out,
+ .fini_out = qesd_fini_out,
+ .run_out = qesd_run_out,
+ .write = qesd_write,
+ .ctl_out = qesd_ctl_out,
+
+ .init_in = qesd_init_in,
+ .fini_in = qesd_fini_in,
+ .run_in = qesd_run_in,
+ .read = qesd_read,
+ .ctl_in = qesd_ctl_in,
};
struct audio_driver esd_audio_driver = {