diff options
author | Juan Quintela <quintela@redhat.com> | 2009-08-11 02:31:15 +0200 |
---|---|---|
committer | malc <av1474@comtv.ru> | 2009-08-11 20:51:24 +0400 |
commit | 1dd3e4d13d0d59de61de518c9e504cb444782510 (patch) | |
tree | 3cff62b8d75f2548720f3dfa17aed7ade86af468 /audio/wavaudio.c | |
parent | 2700efa3236d20879473d6b9c612f882a1b43dda (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.c | 16 |
1 files changed, 5 insertions, 11 deletions
diff --git a/audio/wavaudio.c b/audio/wavaudio.c index 51ed6eb5d..4c49f23e9 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 = { |