ALSA: usx2y: Constify struct snd_usb_audio_quirk entries
[muen/linux.git] / sound / usb / usx2y / us122l.c
index e82c523..f86f7a6 100644 (file)
@@ -40,13 +40,13 @@ static int snd_us122l_card_used[SNDRV_CARDS];
 
 static int us122l_create_usbmidi(struct snd_card *card)
 {
-       static struct snd_usb_midi_endpoint_info quirk_data = {
+       static const struct snd_usb_midi_endpoint_info quirk_data = {
                .out_ep = 4,
                .in_ep = 3,
                .out_cables =   0x001,
                .in_cables =    0x001
        };
-       static struct snd_usb_audio_quirk quirk = {
+       static const struct snd_usb_audio_quirk quirk = {
                .vendor_name =  "US122L",
                .product_name = NAME_ALLCAPS,
                .ifnum =        1,
@@ -62,13 +62,13 @@ static int us122l_create_usbmidi(struct snd_card *card)
 
 static int us144_create_usbmidi(struct snd_card *card)
 {
-       static struct snd_usb_midi_endpoint_info quirk_data = {
+       static const struct snd_usb_midi_endpoint_info quirk_data = {
                .out_ep = 4,
                .in_ep = 3,
                .out_cables =   0x001,
                .in_cables =    0x001
        };
-       static struct snd_usb_audio_quirk quirk = {
+       static const struct snd_usb_audio_quirk quirk = {
                .vendor_name =  "US144",
                .product_name = NAME_ALLCAPS,
                .ifnum =        0,