diff mbox

[16/20] HID: prodikeys: Use SNDRV_DEV_CARD for card objects

Message ID 1392202347-11774-17-git-send-email-tiwai@suse.de (mailing list archive)
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/hid/hid-prodikeys.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
diff mbox

Patch

diff --git a/drivers/hid/hid-prodikeys.c b/drivers/hid/hid-prodikeys.c
index 91fab975063c..1085e7bbba3f 100644
--- a/drivers/hid/hid-prodikeys.c
+++ b/drivers/hid/hid-prodikeys.c
@@ -634,7 +634,7 @@  static int pcmidi_snd_initialise(struct pcmidi_snd *pm)
 	pm->card = card;
 
 	/* Setup sound device */
-	err = snd_device_new(card, SNDRV_DEV_LOWLEVEL, pm, &ops);
+	err = snd_device_new(card, SNDRV_DEV_CARD, pm, &ops);
 	if (err < 0) {
 		pk_error("failed to create pc-midi sound device: error %d\n",
 			err);