aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--core.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/core.c b/core.c
index 479b93e..bf31f0b 100644
--- a/core.c
+++ b/core.c
@@ -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;