ALSA: aoa: Use SNDRV_DEV_CODEC for AOA codec objects
[sfrench/cifs-2.6.git] / sound / aoa / codecs / toonie.c
index 69d2cb601f2a4daa7d32d6abda14c5095b56de01..7e8c3417cd853999246f3292dd16e395f6e70e6b 100644 (file)
@@ -92,7 +92,7 @@ static int toonie_init_codec(struct aoa_codec *codec)
        if (toonie->codec.connected != 1)
                return -ENOTCONN;
 
-       if (aoa_snd_device_new(SNDRV_DEV_LOWLEVEL, toonie, &ops)) {
+       if (aoa_snd_device_new(SNDRV_DEV_CODEC, toonie, &ops)) {
                printk(KERN_ERR PFX "failed to create toonie snd device!\n");
                return -ENODEV;
        }