projects
/
profile
/
ivi
/
kernel-x86-ivi.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3d7f1dc
)
UAPI: Guard linux/sound.h
author
David Howells
<dhowells@redhat.com>
Tue, 13 Dec 2011 09:26:45 +0000
(09:26 +0000)
committer
David Howells
<dhowells@redhat.com>
Tue, 13 Dec 2011 09:26:45 +0000
(09:26 +0000)
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>
include/linux/sound.h
patch
|
blob
|
history
diff --git
a/include/linux/sound.h
b/include/linux/sound.h
index
44dcf05
..
fae20ba
100644
(file)
--- a/
include/linux/sound.h
+++ b/
include/linux/sound.h
@@
-1,3
+1,5
@@
+#ifndef _LINUX_SOUND_H
+#define _LINUX_SOUND_H
/*
* 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_dsp(int unit);
#endif /* __KERNEL__ */
+
+#endif /* _LINUX_SOUND_H */