Browse Source

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>
David Howells 13 năm trước cách đây
mục cha
commit
6682bb86fe
1 tập tin đã thay đổi với 4 bổ sung0 xóa
  1. 4 0
      include/linux/sound.h

+ 4 - 0
include/linux/sound.h

@@ -1,3 +1,5 @@
+#ifndef _LINUX_SOUND_H
+#define _LINUX_SOUND_H
 
 
 /*
 /*
  * Minor numbers for the sound driver.
  * Minor numbers for the sound driver.
@@ -42,3 +44,5 @@ extern void unregister_sound_mixer(int unit);
 extern void unregister_sound_midi(int unit);
 extern void unregister_sound_midi(int unit);
 extern void unregister_sound_dsp(int unit);
 extern void unregister_sound_dsp(int unit);
 #endif /* __KERNEL__ */
 #endif /* __KERNEL__ */
+
+#endif /* _LINUX_SOUND_H */