[ALSA] dynamic minors (3/6): store device-specific object pointers dynamically
[GitHub/mt8127/android_kernel_alcatel_ttab.git] / sound / core / timer.c
index a7bcb04263cba2fd3c79d1dc5dc47b215205b72c..c62dbacdca1328f368181051f2b9e25629b26066 100644 (file)
@@ -1952,8 +1952,8 @@ static int __init alsa_timer_init(void)
        if ((err = snd_timer_register_system()) < 0)
                snd_printk(KERN_ERR "unable to register system timer (%i)\n",
                           err);
-       if ((err = snd_register_device(SNDRV_DEVICE_TYPE_TIMER,
-                                      NULL, 0, &snd_timer_f_ops, "timer")) < 0)
+       if ((err = snd_register_device(SNDRV_DEVICE_TYPE_TIMER, NULL, 0,
+                                      &snd_timer_f_ops, NULL, "timer")) < 0)
                snd_printk(KERN_ERR "unable to register timer device (%i)\n",
                           err);
        return 0;