diff options
author | Takashi Iwai <tiwai@suse.de> | 2017-01-05 17:29:07 +0100 |
---|---|---|
committer | Takashi Iwai <tiwai@suse.de> | 2017-01-12 12:50:16 +0100 |
commit | 9021b2b8fd8f352abfc9470249eca9b36356a155 (patch) | |
tree | e64b485c5fac90494c25ce8fb39047bb149c7f3d /include/sound | |
parent | c36f486d7bc71d41ec6b9521574136a280c17803 (diff) | |
download | linux-9021b2b8fd8f352abfc9470249eca9b36356a155.tar.gz linux-9021b2b8fd8f352abfc9470249eca9b36356a155.tar.bz2 linux-9021b2b8fd8f352abfc9470249eca9b36356a155.zip |
ALSA: isa: Constify snd_rawmidi_ops
Now snd_rawmidi_ops is maintained as a const pointer in snd_rawmidi,
we can constify the definitions.
Reviewed-by: Takashi Sakamoto <o-takashi@sakamocchi.jp>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'include/sound')
-rw-r--r-- | include/sound/snd_wavefront.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/include/sound/snd_wavefront.h b/include/sound/snd_wavefront.h index 35e94b3d1ec7..cd0bab1ef6f1 100644 --- a/include/sound/snd_wavefront.h +++ b/include/sound/snd_wavefront.h @@ -37,8 +37,8 @@ struct _snd_wavefront_midi { #define MPU_ACK 0xFE #define UART_MODE_ON 0x3F -extern struct snd_rawmidi_ops snd_wavefront_midi_output; -extern struct snd_rawmidi_ops snd_wavefront_midi_input; +extern const struct snd_rawmidi_ops snd_wavefront_midi_output; +extern const struct snd_rawmidi_ops snd_wavefront_midi_input; extern void snd_wavefront_midi_enable_virtual (snd_wavefront_card_t *); extern void snd_wavefront_midi_disable_virtual (snd_wavefront_card_t *); |