diff options
-rw-r--r-- | sound/pci/ca0106/ca_midi.c | 4 | ||||
-rw-r--r-- | sound/pci/cs4281.c | 4 | ||||
-rw-r--r-- | sound/pci/cs46xx/cs46xx_lib.c | 4 | ||||
-rw-r--r-- | sound/pci/echoaudio/midi.c | 4 | ||||
-rw-r--r-- | sound/pci/emu10k1/emu10k1x.c | 4 | ||||
-rw-r--r-- | sound/pci/emu10k1/emumpu401.c | 4 | ||||
-rw-r--r-- | sound/pci/ens1370.c | 4 | ||||
-rw-r--r-- | sound/pci/ice1712/ice1724.c | 4 | ||||
-rw-r--r-- | sound/pci/rme9652/hdsp.c | 4 | ||||
-rw-r--r-- | sound/pci/rme9652/hdspm.c | 4 |
10 files changed, 20 insertions, 20 deletions
diff --git a/sound/pci/ca0106/ca_midi.c b/sound/pci/ca0106/ca_midi.c index b91c7f6d19f9..4d4d385205eb 100644 --- a/sound/pci/ca0106/ca_midi.c +++ b/sound/pci/ca0106/ca_midi.c | |||
@@ -255,14 +255,14 @@ static void ca_midi_output_trigger(struct snd_rawmidi_substream *substream, int | |||
255 | } | 255 | } |
256 | } | 256 | } |
257 | 257 | ||
258 | static struct snd_rawmidi_ops ca_midi_output = | 258 | static const struct snd_rawmidi_ops ca_midi_output = |
259 | { | 259 | { |
260 | .open = ca_midi_output_open, | 260 | .open = ca_midi_output_open, |
261 | .close = ca_midi_output_close, | 261 | .close = ca_midi_output_close, |
262 | .trigger = ca_midi_output_trigger, | 262 | .trigger = ca_midi_output_trigger, |
263 | }; | 263 | }; |
264 | 264 | ||
265 | static struct snd_rawmidi_ops ca_midi_input = | 265 | static const struct snd_rawmidi_ops ca_midi_input = |
266 | { | 266 | { |
267 | .open = ca_midi_input_open, | 267 | .open = ca_midi_input_open, |
268 | .close = ca_midi_input_close, | 268 | .close = ca_midi_input_close, |
diff --git a/sound/pci/cs4281.c b/sound/pci/cs4281.c index 8f0f5f24e40e..fa7c51684dd2 100644 --- a/sound/pci/cs4281.c +++ b/sound/pci/cs4281.c | |||
@@ -1767,14 +1767,14 @@ static void snd_cs4281_midi_output_trigger(struct snd_rawmidi_substream *substre | |||
1767 | spin_unlock_irqrestore(&chip->reg_lock, flags); | 1767 | spin_unlock_irqrestore(&chip->reg_lock, flags); |
1768 | } | 1768 | } |
1769 | 1769 | ||
1770 | static struct snd_rawmidi_ops snd_cs4281_midi_output = | 1770 | static const struct snd_rawmidi_ops snd_cs4281_midi_output = |
1771 | { | 1771 | { |
1772 | .open = snd_cs4281_midi_output_open, | 1772 | .open = snd_cs4281_midi_output_open, |
1773 | .close = snd_cs4281_midi_output_close, | 1773 | .close = snd_cs4281_midi_output_close, |
1774 | .trigger = snd_cs4281_midi_output_trigger, | 1774 | .trigger = snd_cs4281_midi_output_trigger, |
1775 | }; | 1775 | }; |
1776 | 1776 | ||
1777 | static struct snd_rawmidi_ops snd_cs4281_midi_input = | 1777 | static const struct snd_rawmidi_ops snd_cs4281_midi_input = |
1778 | { | 1778 | { |
1779 | .open = snd_cs4281_midi_input_open, | 1779 | .open = snd_cs4281_midi_input_open, |
1780 | .close = snd_cs4281_midi_input_close, | 1780 | .close = snd_cs4281_midi_input_close, |
diff --git a/sound/pci/cs46xx/cs46xx_lib.c b/sound/pci/cs46xx/cs46xx_lib.c index fde3cd48258c..e561fd536f5b 100644 --- a/sound/pci/cs46xx/cs46xx_lib.c +++ b/sound/pci/cs46xx/cs46xx_lib.c | |||
@@ -2683,14 +2683,14 @@ static void snd_cs46xx_midi_output_trigger(struct snd_rawmidi_substream *substre | |||
2683 | spin_unlock_irqrestore(&chip->reg_lock, flags); | 2683 | spin_unlock_irqrestore(&chip->reg_lock, flags); |
2684 | } | 2684 | } |
2685 | 2685 | ||
2686 | static struct snd_rawmidi_ops snd_cs46xx_midi_output = | 2686 | static const struct snd_rawmidi_ops snd_cs46xx_midi_output = |
2687 | { | 2687 | { |
2688 | .open = snd_cs46xx_midi_output_open, | 2688 | .open = snd_cs46xx_midi_output_open, |
2689 | .close = snd_cs46xx_midi_output_close, | 2689 | .close = snd_cs46xx_midi_output_close, |
2690 | .trigger = snd_cs46xx_midi_output_trigger, | 2690 | .trigger = snd_cs46xx_midi_output_trigger, |
2691 | }; | 2691 | }; |
2692 | 2692 | ||
2693 | static struct snd_rawmidi_ops snd_cs46xx_midi_input = | 2693 | static const struct snd_rawmidi_ops snd_cs46xx_midi_input = |
2694 | { | 2694 | { |
2695 | .open = snd_cs46xx_midi_input_open, | 2695 | .open = snd_cs46xx_midi_input_open, |
2696 | .close = snd_cs46xx_midi_input_close, | 2696 | .close = snd_cs46xx_midi_input_close, |
diff --git a/sound/pci/echoaudio/midi.c b/sound/pci/echoaudio/midi.c index a8fe58335ddc..8c685ddb1a41 100644 --- a/sound/pci/echoaudio/midi.c +++ b/sound/pci/echoaudio/midi.c | |||
@@ -288,13 +288,13 @@ static int snd_echo_midi_output_close(struct snd_rawmidi_substream *substream) | |||
288 | 288 | ||
289 | 289 | ||
290 | 290 | ||
291 | static struct snd_rawmidi_ops snd_echo_midi_input = { | 291 | static const struct snd_rawmidi_ops snd_echo_midi_input = { |
292 | .open = snd_echo_midi_input_open, | 292 | .open = snd_echo_midi_input_open, |
293 | .close = snd_echo_midi_input_close, | 293 | .close = snd_echo_midi_input_close, |
294 | .trigger = snd_echo_midi_input_trigger, | 294 | .trigger = snd_echo_midi_input_trigger, |
295 | }; | 295 | }; |
296 | 296 | ||
297 | static struct snd_rawmidi_ops snd_echo_midi_output = { | 297 | static const struct snd_rawmidi_ops snd_echo_midi_output = { |
298 | .open = snd_echo_midi_output_open, | 298 | .open = snd_echo_midi_output_open, |
299 | .close = snd_echo_midi_output_close, | 299 | .close = snd_echo_midi_output_close, |
300 | .trigger = snd_echo_midi_output_trigger, | 300 | .trigger = snd_echo_midi_output_trigger, |
diff --git a/sound/pci/emu10k1/emu10k1x.c b/sound/pci/emu10k1/emu10k1x.c index 921037ed8468..32842734ada6 100644 --- a/sound/pci/emu10k1/emu10k1x.c +++ b/sound/pci/emu10k1/emu10k1x.c | |||
@@ -1486,14 +1486,14 @@ static void snd_emu10k1x_midi_output_trigger(struct snd_rawmidi_substream *subst | |||
1486 | 1486 | ||
1487 | */ | 1487 | */ |
1488 | 1488 | ||
1489 | static struct snd_rawmidi_ops snd_emu10k1x_midi_output = | 1489 | static const struct snd_rawmidi_ops snd_emu10k1x_midi_output = |
1490 | { | 1490 | { |
1491 | .open = snd_emu10k1x_midi_output_open, | 1491 | .open = snd_emu10k1x_midi_output_open, |
1492 | .close = snd_emu10k1x_midi_output_close, | 1492 | .close = snd_emu10k1x_midi_output_close, |
1493 | .trigger = snd_emu10k1x_midi_output_trigger, | 1493 | .trigger = snd_emu10k1x_midi_output_trigger, |
1494 | }; | 1494 | }; |
1495 | 1495 | ||
1496 | static struct snd_rawmidi_ops snd_emu10k1x_midi_input = | 1496 | static const struct snd_rawmidi_ops snd_emu10k1x_midi_input = |
1497 | { | 1497 | { |
1498 | .open = snd_emu10k1x_midi_input_open, | 1498 | .open = snd_emu10k1x_midi_input_open, |
1499 | .close = snd_emu10k1x_midi_input_close, | 1499 | .close = snd_emu10k1x_midi_input_close, |
diff --git a/sound/pci/emu10k1/emumpu401.c b/sound/pci/emu10k1/emumpu401.c index fdf2b0ada489..b6650f5c1621 100644 --- a/sound/pci/emu10k1/emumpu401.c +++ b/sound/pci/emu10k1/emumpu401.c | |||
@@ -308,14 +308,14 @@ static void snd_emu10k1_midi_output_trigger(struct snd_rawmidi_substream *substr | |||
308 | 308 | ||
309 | */ | 309 | */ |
310 | 310 | ||
311 | static struct snd_rawmidi_ops snd_emu10k1_midi_output = | 311 | static const struct snd_rawmidi_ops snd_emu10k1_midi_output = |
312 | { | 312 | { |
313 | .open = snd_emu10k1_midi_output_open, | 313 | .open = snd_emu10k1_midi_output_open, |
314 | .close = snd_emu10k1_midi_output_close, | 314 | .close = snd_emu10k1_midi_output_close, |
315 | .trigger = snd_emu10k1_midi_output_trigger, | 315 | .trigger = snd_emu10k1_midi_output_trigger, |
316 | }; | 316 | }; |
317 | 317 | ||
318 | static struct snd_rawmidi_ops snd_emu10k1_midi_input = | 318 | static const struct snd_rawmidi_ops snd_emu10k1_midi_input = |
319 | { | 319 | { |
320 | .open = snd_emu10k1_midi_input_open, | 320 | .open = snd_emu10k1_midi_input_open, |
321 | .close = snd_emu10k1_midi_input_close, | 321 | .close = snd_emu10k1_midi_input_close, |
diff --git a/sound/pci/ens1370.c b/sound/pci/ens1370.c index 51736c2b5a00..164adad91650 100644 --- a/sound/pci/ens1370.c +++ b/sound/pci/ens1370.c | |||
@@ -2317,14 +2317,14 @@ static void snd_ensoniq_midi_output_trigger(struct snd_rawmidi_substream *substr | |||
2317 | spin_unlock_irqrestore(&ensoniq->reg_lock, flags); | 2317 | spin_unlock_irqrestore(&ensoniq->reg_lock, flags); |
2318 | } | 2318 | } |
2319 | 2319 | ||
2320 | static struct snd_rawmidi_ops snd_ensoniq_midi_output = | 2320 | static const struct snd_rawmidi_ops snd_ensoniq_midi_output = |
2321 | { | 2321 | { |
2322 | .open = snd_ensoniq_midi_output_open, | 2322 | .open = snd_ensoniq_midi_output_open, |
2323 | .close = snd_ensoniq_midi_output_close, | 2323 | .close = snd_ensoniq_midi_output_close, |
2324 | .trigger = snd_ensoniq_midi_output_trigger, | 2324 | .trigger = snd_ensoniq_midi_output_trigger, |
2325 | }; | 2325 | }; |
2326 | 2326 | ||
2327 | static struct snd_rawmidi_ops snd_ensoniq_midi_input = | 2327 | static const struct snd_rawmidi_ops snd_ensoniq_midi_input = |
2328 | { | 2328 | { |
2329 | .open = snd_ensoniq_midi_input_open, | 2329 | .open = snd_ensoniq_midi_input_open, |
2330 | .close = snd_ensoniq_midi_input_close, | 2330 | .close = snd_ensoniq_midi_input_close, |
diff --git a/sound/pci/ice1712/ice1724.c b/sound/pci/ice1712/ice1724.c index e5c52ed9b674..842744e7a139 100644 --- a/sound/pci/ice1712/ice1724.c +++ b/sound/pci/ice1712/ice1724.c | |||
@@ -367,7 +367,7 @@ static void vt1724_midi_output_drain(struct snd_rawmidi_substream *s) | |||
367 | } while (time_after(timeout, jiffies)); | 367 | } while (time_after(timeout, jiffies)); |
368 | } | 368 | } |
369 | 369 | ||
370 | static struct snd_rawmidi_ops vt1724_midi_output_ops = { | 370 | static const struct snd_rawmidi_ops vt1724_midi_output_ops = { |
371 | .open = vt1724_midi_output_open, | 371 | .open = vt1724_midi_output_open, |
372 | .close = vt1724_midi_output_close, | 372 | .close = vt1724_midi_output_close, |
373 | .trigger = vt1724_midi_output_trigger, | 373 | .trigger = vt1724_midi_output_trigger, |
@@ -402,7 +402,7 @@ static void vt1724_midi_input_trigger(struct snd_rawmidi_substream *s, int up) | |||
402 | spin_unlock_irqrestore(&ice->reg_lock, flags); | 402 | spin_unlock_irqrestore(&ice->reg_lock, flags); |
403 | } | 403 | } |
404 | 404 | ||
405 | static struct snd_rawmidi_ops vt1724_midi_input_ops = { | 405 | static const struct snd_rawmidi_ops vt1724_midi_input_ops = { |
406 | .open = vt1724_midi_input_open, | 406 | .open = vt1724_midi_input_open, |
407 | .close = vt1724_midi_input_close, | 407 | .close = vt1724_midi_input_close, |
408 | .trigger = vt1724_midi_input_trigger, | 408 | .trigger = vt1724_midi_input_trigger, |
diff --git a/sound/pci/rme9652/hdsp.c b/sound/pci/rme9652/hdsp.c index b94fc6357139..fc0face6cdc6 100644 --- a/sound/pci/rme9652/hdsp.c +++ b/sound/pci/rme9652/hdsp.c | |||
@@ -1510,14 +1510,14 @@ static int snd_hdsp_midi_output_close(struct snd_rawmidi_substream *substream) | |||
1510 | return 0; | 1510 | return 0; |
1511 | } | 1511 | } |
1512 | 1512 | ||
1513 | static struct snd_rawmidi_ops snd_hdsp_midi_output = | 1513 | static const struct snd_rawmidi_ops snd_hdsp_midi_output = |
1514 | { | 1514 | { |
1515 | .open = snd_hdsp_midi_output_open, | 1515 | .open = snd_hdsp_midi_output_open, |
1516 | .close = snd_hdsp_midi_output_close, | 1516 | .close = snd_hdsp_midi_output_close, |
1517 | .trigger = snd_hdsp_midi_output_trigger, | 1517 | .trigger = snd_hdsp_midi_output_trigger, |
1518 | }; | 1518 | }; |
1519 | 1519 | ||
1520 | static struct snd_rawmidi_ops snd_hdsp_midi_input = | 1520 | static const struct snd_rawmidi_ops snd_hdsp_midi_input = |
1521 | { | 1521 | { |
1522 | .open = snd_hdsp_midi_input_open, | 1522 | .open = snd_hdsp_midi_input_open, |
1523 | .close = snd_hdsp_midi_input_close, | 1523 | .close = snd_hdsp_midi_input_close, |
diff --git a/sound/pci/rme9652/hdspm.c b/sound/pci/rme9652/hdspm.c index 14bbf55c1ef9..c48acdb0e186 100644 --- a/sound/pci/rme9652/hdspm.c +++ b/sound/pci/rme9652/hdspm.c | |||
@@ -2043,14 +2043,14 @@ static int snd_hdspm_midi_output_close(struct snd_rawmidi_substream *substream) | |||
2043 | return 0; | 2043 | return 0; |
2044 | } | 2044 | } |
2045 | 2045 | ||
2046 | static struct snd_rawmidi_ops snd_hdspm_midi_output = | 2046 | static const struct snd_rawmidi_ops snd_hdspm_midi_output = |
2047 | { | 2047 | { |
2048 | .open = snd_hdspm_midi_output_open, | 2048 | .open = snd_hdspm_midi_output_open, |
2049 | .close = snd_hdspm_midi_output_close, | 2049 | .close = snd_hdspm_midi_output_close, |
2050 | .trigger = snd_hdspm_midi_output_trigger, | 2050 | .trigger = snd_hdspm_midi_output_trigger, |
2051 | }; | 2051 | }; |
2052 | 2052 | ||
2053 | static struct snd_rawmidi_ops snd_hdspm_midi_input = | 2053 | static const struct snd_rawmidi_ops snd_hdspm_midi_input = |
2054 | { | 2054 | { |
2055 | .open = snd_hdspm_midi_input_open, | 2055 | .open = snd_hdspm_midi_input_open, |
2056 | .close = snd_hdspm_midi_input_close, | 2056 | .close = snd_hdspm_midi_input_close, |