From 1dd3e4d13d0d59de61de518c9e504cb444782510 Mon Sep 17 00:00:00 2001 From: Juan Quintela Date: Tue, 11 Aug 2009 02:31:15 +0200 Subject: use C99 initializers for audio_pcm_ops Signed-off-by: Juan Quintela --- audio/esdaudio.c | 22 +++++++++++----------- 1 file changed, 11 insertions(+), 11 deletions(-) (limited to 'audio/esdaudio.c') diff --git a/audio/esdaudio.c b/audio/esdaudio.c index 83c1896..23e488a 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 = { -- cgit v1.1