Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit fdc29805 authored by David Howells's avatar David Howells
Browse files

UAPI: Don't have a #elif clause in a __KERNEL__ guard in linux/soundcard.h



Don't have a #elif clause in a __KERNEL__ guard in linux/soundcard.h to make
parsing easier.

Signed-off-by: default avatarDavid Howells <dhowells@redhat.com>
parent 989e986f
Loading
Loading
Loading
Loading
+3 −1
Original line number Diff line number Diff line
@@ -198,7 +198,8 @@ typedef struct seq_event_rec {
#  else
#    error "could not determine byte order"
#  endif
#elif defined(__BYTE_ORDER)
#else
# if defined(__BYTE_ORDER)
#  if __BYTE_ORDER == __BIG_ENDIAN
#    define AFMT_S16_NE AFMT_S16_BE
#  elif __BYTE_ORDER == __LITTLE_ENDIAN
@@ -207,6 +208,7 @@ typedef struct seq_event_rec {
#    error "could not determine byte order"
#  endif
# endif
#endif

/*
 *	Sample loading mechanism for internal synthesizers (/dev/sequencer)