@@ -1185,7 +1185,7 @@ snd_ml403_ac97cr_create(struct snd_card *card, struct platform_device *pfdev,
return err;
}
- err = snd_device_new(card, SNDRV_DEV_LOWLEVEL, ml403_ac97cr, &ops);
+ err = snd_device_new(card, SNDRV_DEV_CARD, ml403_ac97cr, &ops);
if (err < 0) {
PDEBUG(INIT_FAILURE, "probe(): snd_device_new() failed!\n");
snd_ml403_ac97cr_free(ml403_ac97cr);
@@ -87,7 +87,7 @@ static int snd_pcsp_create(struct snd_card *card)
pcsp_chip.dma = -1;
/* Register device */
- err = snd_device_new(card, SNDRV_DEV_LOWLEVEL, &pcsp_chip, &ops);
+ err = snd_device_new(card, SNDRV_DEV_CARD, &pcsp_chip, &ops);
if (err < 0)
return err;
@@ -836,7 +836,7 @@ static int snd_uart16550_create(struct snd_card *card,
uart->timer_running = 0;
/* Register device */
- if ((err = snd_device_new(card, SNDRV_DEV_LOWLEVEL, uart, &ops)) < 0) {
+ if ((err = snd_device_new(card, SNDRV_DEV_CARD, uart, &ops)) < 0) {
snd_uart16550_free(uart);
return err;
}
... instead of SNDRV_DEV_LOWLEVEL. No functional change at this point. Signed-off-by: Takashi Iwai <tiwai@suse.de> --- sound/drivers/ml403-ac97cr.c | 2 +- sound/drivers/pcsp/pcsp.c | 2 +- sound/drivers/serial-u16550.c | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-)