aboutsummaryrefslogtreecommitdiff
path: root/audio/wavaudio.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/wavaudio.c
parent2700efa3236d20879473d6b9c612f882a1b43dda (diff)
use C99 initializers for audio_pcm_ops
Signed-off-by: Juan Quintela <quintela@redhat.com>
Diffstat (limited to 'audio/wavaudio.c')
-rw-r--r--audio/wavaudio.c16
1 files changed, 5 insertions, 11 deletions
diff --git a/audio/wavaudio.c b/audio/wavaudio.c
index 51ed6eb5dc..4c49f23e95 100644
--- a/audio/wavaudio.c
+++ b/audio/wavaudio.c
@@ -239,17 +239,11 @@ static struct audio_option wav_options[] = {
};
static struct audio_pcm_ops wav_pcm_ops = {
- wav_init_out,
- wav_fini_out,
- wav_run_out,
- wav_write_out,
- wav_ctl_out,
-
- NULL,
- NULL,
- NULL,
- NULL,
- NULL
+ .init_out = wav_init_out,
+ .fini_out = wav_fini_out,
+ .run_out = wav_run_out,
+ .write = wav_write_out,
+ .ctl_out = wav_ctl_out,
};
struct audio_driver wav_audio_driver = {