summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDavid Howells <dhowells@redhat.com>2011-12-13 15:07:49 +0000
committerDavid Howells <dhowells@redhat.com>2011-12-13 15:07:49 +0000
commitfdc29805bd7cae133303045fc0249d76f3827613 (patch)
treeb8f1598c20def2ec3412df074d2519ef13dab1d4
parent989e986f5b1748fe3ff714954dc0d23780c43a9c (diff)
downloadlinux-fdc29805bd7cae133303045fc0249d76f3827613.tar.gz
linux-fdc29805bd7cae133303045fc0249d76f3827613.tar.bz2
linux-fdc29805bd7cae133303045fc0249d76f3827613.zip
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: David Howells <dhowells@redhat.com>
-rw-r--r--include/linux/soundcard.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/include/linux/soundcard.h b/include/linux/soundcard.h
index fe204fe39f7c..dfcf86f013a9 100644
--- a/include/linux/soundcard.h
+++ b/include/linux/soundcard.h
@@ -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
@@ -206,6 +207,7 @@ typedef struct seq_event_rec {
# else
# error "could not determine byte order"
# endif
+# endif
#endif
/*