projects
/
firefly-linux-kernel-4.4.55.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
989e986
)
UAPI: Don't have a #elif clause in a __KERNEL__ guard in linux/soundcard.h
author
David Howells
<dhowells@redhat.com>
Tue, 13 Dec 2011 15:07:49 +0000
(15:07 +0000)
committer
David Howells
<dhowells@redhat.com>
Tue, 13 Dec 2011 15:07:49 +0000
(15:07 +0000)
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>
include/linux/soundcard.h
patch
|
blob
|
history
diff --git
a/include/linux/soundcard.h
b/include/linux/soundcard.h
index fe204fe39f7cae7a76164da83cb251f2c5dee7b4..dfcf86f013a9492624ba14874be39380199ed236 100644
(file)
--- 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
/*