summaryrefslogtreecommitdiff
path: root/include/sound
diff options
context:
space:
mode:
authorStephen Rothwell <sfr@canb.auug.org.au>2023-05-24 13:54:48 +1000
committerTakashi Iwai <tiwai@suse.de>2023-05-24 09:09:19 +0200
commitdafb82e7d39767f11660705a518a551251fbdfe4 (patch)
tree87eb19c2c1ee4e7e4bc03366c9b272a917516247 /include/sound
parent6b39e30dce18114e3fc27074cee9a2b91a3639d1 (diff)
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: 0b5288f5fe63 ("ALSA: ump: Add legacy raw MIDI support") Signed-off-by: Stephen Rothwell <sfr@canb.auug.org.au> Link: https://lore.kernel.org/r/20230524135448.3ecad334@canb.auug.org.au Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'include/sound')
-rw-r--r--include/sound/ump_msg.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/sound/ump_msg.h b/include/sound/ump_msg.h
index c76c39944a5f..a594ef951b54 100644
--- a/include/sound/ump_msg.h
+++ b/include/sound/ump_msg.h
@@ -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) */