[18/20] usb: gadget: Use SNDRV_DEV_CARD for card objects
diff mbox

Message ID 1392202347-11774-19-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/usb/gadget/f_midi.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Patch
diff mbox

diff --git a/drivers/usb/gadget/f_midi.c b/drivers/usb/gadget/f_midi.c
index 807b31c0edc3..f7f79bb99c7e 100644
--- a/drivers/usb/gadget/f_midi.c
+++ b/drivers/usb/gadget/f_midi.c
@@ -672,7 +672,7 @@  static int f_midi_register_card(struct f_midi *midi)
 	}
 	midi->card = card;
 
-	err = snd_device_new(card, SNDRV_DEV_LOWLEVEL, midi, &ops);
+	err = snd_device_new(card, SNDRV_DEV_CARD, midi, &ops);
 	if (err < 0) {
 		ERROR(midi, "snd_device_new() failed: error %d\n", err);
 		goto fail;