mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-28 10:41:38 -04:00
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 <[email protected]> Signed-off-by: Takashi Iwai <[email protected]>
This commit is contained in:
parent
c36f486d7b
commit
9021b2b8fd
5 changed files with 9 additions and 9 deletions
|
|
@ -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 *);
|
||||
|
|
|
|||
Loading…
Reference in a new issue