[alsa-devel] [PATCH 4/6] sound/usb/caiaq/device.c: fix use of MODULE_SUPPORTED_DEVICES()

Daniel Mack zonque at gmail.com
Tue Jan 29 00:33:53 CET 2013


Antonio Ospite <ospite at studenti.unina.it> wrote:

>From: Antonio Ospite <ao2 at amarulasolutions.com>
>
>It looks like MODULE_SUPPORTED_DEVICES() is not implemented yet, but
>still, having the entries in the list consistently separated by commas
>and with balanced parenthesis won't hurt.
>
>Signed-off-by: Antonio Ospite <ao2 at amarulasolutions.com>

Acked-by: Daniel Mack <zonque at gmail.com>


Thanks!



>---
> sound/usb/caiaq/device.c |    8 ++++----
> 1 file changed, 4 insertions(+), 4 deletions(-)
>
>diff --git a/sound/usb/caiaq/device.c b/sound/usb/caiaq/device.c
>index c828f81..e4d6dbb 100644
>--- a/sound/usb/caiaq/device.c
>+++ b/sound/usb/caiaq/device.c
>@@ -48,10 +48,10 @@ MODULE_SUPPORTED_DEVICE("{{Native Instruments,
>RigKontrol2},"
> 			 "{Native Instruments, Audio 8 DJ},"
> 			 "{Native Instruments, Traktor Audio 2},"
> 			 "{Native Instruments, Session I/O},"
>-			 "{Native Instruments, GuitarRig mobile}"
>-			 "{Native Instruments, Traktor Kontrol X1}"
>-			 "{Native Instruments, Traktor Kontrol S4}"
>-			 "{Native Instruments, Maschine Controller}");
>+			 "{Native Instruments, GuitarRig mobile},"
>+			 "{Native Instruments, Traktor Kontrol X1},"
>+			 "{Native Instruments, Traktor Kontrol S4},"
>+			 "{Native Instruments, Maschine Controller}}");
> 
> static int index[SNDRV_CARDS] = SNDRV_DEFAULT_IDX; /* Index 0-max */
>static char* id[SNDRV_CARDS] = SNDRV_DEFAULT_STR; /* Id for this card
>*/




More information about the Alsa-devel mailing list