diff options
Diffstat (limited to 'core.c')
-rw-r--r-- | core.c | 5 |
1 files changed, 1 insertions, 4 deletions
@@ -70,7 +70,7 @@ static struct avirt_coreinfo coreinfo = { .pcm_buff_complete = pcm_buff_complete_cb, }; -static struct list_head audiopath_list; +static LIST_HEAD(audiopath_list); /** * avirt_probe - Register ALSA soundcard @@ -415,9 +415,6 @@ static int __init core_init(void) D_INFOK("Alsa Virtual Sound Driver avirt-%d.%d.%d", coreinfo.version[0], coreinfo.version[1], coreinfo.version[2]); - // Initialize audiopaths linked list - INIT_LIST_HEAD(&audiopath_list); - err = platform_driver_register(&avirt_driver); if (err < 0) return err; |