Skip to content

Commit

Permalink
UAPI: Guard linux/sound.h
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
David Howells committed Dec 13, 2011
1 parent 3d7f1dc commit 6682bb8
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions include/linux/sound.h
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
#ifndef _LINUX_SOUND_H
#define _LINUX_SOUND_H

/*
* Minor numbers for the sound driver.
Expand Down Expand Up @@ -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 */

0 comments on commit 6682bb8

Please sign in to comment.