[17/20] staging: Use SNDRV_DEV_CARD for card objects
diff mbox

Message ID 1392202347-11774-18-git-send-email-tiwai@suse.de
State Deferred
Delegated to: Takashi Iwai
Headers show

Commit Message

Takashi Iwai Feb. 12, 2014, 10:52 a.m. UTC
... instead of SNDRV_DEV_LOWLEVEL.
No functional change at this point.

Signed-off-by: Takashi Iwai <tiwai@suse.de>
---
 drivers/staging/media/go7007/snd-go7007.c      | 2 +-
 drivers/staging/media/solo6x10/solo6x10-g723.c | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

Patch
diff mbox

diff --git a/drivers/staging/media/go7007/snd-go7007.c b/drivers/staging/media/go7007/snd-go7007.c
index 9eb2a20ae40a..32c5032284a3 100644
--- a/drivers/staging/media/go7007/snd-go7007.c
+++ b/drivers/staging/media/go7007/snd-go7007.c
@@ -251,7 +251,7 @@  int go7007_snd_init(struct go7007 *go)
 		kfree(gosnd);
 		return ret;
 	}
-	ret = snd_device_new(gosnd->card, SNDRV_DEV_LOWLEVEL, go,
+	ret = snd_device_new(gosnd->card, SNDRV_DEV_CARD, go,
 			&go7007_snd_device_ops);
 	if (ret < 0) {
 		kfree(gosnd);
diff --git a/drivers/staging/media/solo6x10/solo6x10-g723.c b/drivers/staging/media/solo6x10/solo6x10-g723.c
index 74f037b6166c..e825256a1f48 100644
--- a/drivers/staging/media/solo6x10/solo6x10-g723.c
+++ b/drivers/staging/media/solo6x10/solo6x10-g723.c
@@ -379,7 +379,7 @@  int solo_g723_init(struct solo_dev *solo_dev)
 	sprintf(card->longname, "%s on %s IRQ %d", card->shortname,
 		pci_name(solo_dev->pdev), solo_dev->pdev->irq);
 
-	ret = snd_device_new(card, SNDRV_DEV_LOWLEVEL, solo_dev, &ops);
+	ret = snd_device_new(card, SNDRV_DEV_CARD, solo_dev, &ops);
 	if (ret < 0)
 		goto snd_error;