Commit dafb82e7 authored by Stephen Rothwell's avatar Stephen Rothwell Committed by Takashi Iwai

ALSA: ump: Correct snd_ump_midi1_msg_program definition

The #endif is placed obviously at a wrong position, which caused a
build error on the big endian machine.

Fixes: 0b5288f5 ("ALSA: ump: Add legacy raw MIDI support")
Signed-off-by: default avatarStephen Rothwell <sfr@canb.auug.org.au>
Link: https://lore.kernel.org/r/20230524135448.3ecad334@canb.auug.org.auSigned-off-by: default avatarTakashi Iwai <tiwai@suse.de>
parent 6b39e30d
......@@ -192,13 +192,13 @@ struct snd_ump_midi1_msg_program {
u32 program:8;
u32 reserved:8;
#else
#endif
u32 reserved:8;
u32 program:8;
u32 channel:4;
u32 status:4;
u32 group:4;
u32 type:4;
#endif
} __packed;
/* MIDI 1.0 Channel Pressure (32bit) */
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment