Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

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>

+3 -1
+3 -1
include/linux/soundcard.h
··· 198 198 # else 199 199 # error "could not determine byte order" 200 200 # endif 201 - #elif defined(__BYTE_ORDER) 201 + #else 202 + # if defined(__BYTE_ORDER) 202 203 # if __BYTE_ORDER == __BIG_ENDIAN 203 204 # define AFMT_S16_NE AFMT_S16_BE 204 205 # elif __BYTE_ORDER == __LITTLE_ENDIAN ··· 207 206 # else 208 207 # error "could not determine byte order" 209 208 # endif 209 + # endif 210 210 #endif 211 211 212 212 /*