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

UAPI: Guard linux/sound.h

Place reinclusion guards on linux/sound.h otherwise the UAPI splitter script
won't insert a #include to make the kernel header include the UAPI header.

Signed-off-by: David Howells <dhowells@redhat.com>

+4
+4
include/linux/sound.h
··· 1 + #ifndef _LINUX_SOUND_H 2 + #define _LINUX_SOUND_H 1 3 2 4 /* 3 5 * Minor numbers for the sound driver. ··· 44 42 extern void unregister_sound_midi(int unit); 45 43 extern void unregister_sound_dsp(int unit); 46 44 #endif /* __KERNEL__ */ 45 + 46 + #endif /* _LINUX_SOUND_H */