include/uapi/sound/firewire.h: use "_UAPI" instead of "UAPI"
PATCH 1/1 include/uapi/sound/firewire.h: use "_UAPI" instead of "UAPI"
When installing, "scripts/headers_install.sh" will strip guard macro' "_UAPI" to prevent from appearing it to users. And also, all another files which need uapi prefix always use "_UAPI", not "UAPI".
So use "_UAPI" instead of "UAPI" on the guard macro, and also give a comment for "#endif".
--- include/uapi/sound/firewire.h | 6 +++--- 1 files changed, 3 insertions(+), 3 deletions(-)
include/uapi/sound/firewire.h +3 -3
@@ -1,5 +1,5 @@ -#ifndef UAPI_SOUND_FIREWIRE_H_INCLUDED -#define UAPI_SOUND_FIREWIRE_H_INCLUDED +#ifndef _UAPI_SOUND_FIREWIRE_H_INCLUDED +#define _UAPI_SOUND_FIREWIRE_H_INCLUDED#include <linux/ioctl.h>
@@ -48,4 +48,4 @@ struct snd_firewire_get_info {* Returns -EBUSY if the driver is already streaming. */ -#endif +#endif /* _UAPI_SOUND_FIREWIRE_H_INCLUDED */
Signature · 1 line
1.7.7.6
Quoted 8 lines · Chen Gang
When installing, "
scripts/headers_install.sh" will strip guard macro' "_UAPI" to prevent from appearing it to users. And also, all another files which need uapi prefix always use "_UAPI", not "UAPI".So use "
_UAPI" instead of "UAPI" on the guard macro, and also give a comment for "#endif".Signed-off-by Chen Gang <[email protected]>
Quoted 22 lines
--- include/uapi/sound/firewire.h | 6 +++--- 1 files changed, 3 insertions(+), 3 deletions(-)include/uapi/sound/firewire.h +3
-3@@ -1,5 +1,5 @@ -#ifndef UAPI_SOUND_FIREWIRE_H_INCLUDED -#define UAPI_SOUND_FIREWIRE_H_INCLUDED +#ifndef _UAPI_SOUND_FIREWIRE_H_INCLUDED +#define _UAPI_SOUND_FIREWIRE_H_INCLUDED#include <linux/ioctl.h> @@ -48,4 +48,4 @@ struct snd_firewire_get_info {* Returns -EBUSY if the driver is already streaming. */ -#endif +#endif /* _UAPI_SOUND_FIREWIRE_H_INCLUDED */
Quoted 11 lines · Clemens Ladisch
Quoted 8 lines · Chen Gang
Quoted 8 lines
When installing, "
scripts/headers_install.sh" will strip guard macro' "_UAPI" to prevent from appearing it to users. And also, all another files which need uapi prefix always use "_UAPI", not "UAPI".So use "
_UAPI" instead of "UAPI" on the guard macro, and also give a comment for "#endif".Signed-off-by Chen Gang <[email protected]>Acked-by Clemens Ladisch <[email protected]>
Thank you very much !!
Signature · 1 line
Chen Gang
Takashi Iwai
AppliedAt Thu, 07 Nov 2013 11:14:29 +0800,
Quoted 10 lines · Chen Gang
When installing, "
scripts/headers_install.sh" will strip guard macro' "_UAPI" to prevent from appearing it to users. And also, all another files which need uapi prefix always use "_UAPI", not "UAPI".So use "
_UAPI" instead of "UAPI" on the guard macro, and also give a comment for "#endif".Signed-off-by Chen Gang <[email protected]>
Thanks, applied.
Takashi
Quoted 25 lines
--- include/uapi/sound/firewire.h | 6 +++--- 1 files changed, 3 insertions(+), 3 deletions(-)include/uapi/sound/firewire.h +3
-3@@ -1,5 +1,5 @@ -#ifndef UAPI_SOUND_FIREWIRE_H_INCLUDED -#define UAPI_SOUND_FIREWIRE_H_INCLUDED +#ifndef _UAPI_SOUND_FIREWIRE_H_INCLUDED +#define _UAPI_SOUND_FIREWIRE_H_INCLUDED#include <linux/ioctl.h> @@ -48,4 +48,4 @@ struct snd_firewire_get_info {* Returns -EBUSY if the driver is already streaming. */ -#endif +#endif /* _UAPI_SOUND_FIREWIRE_H_INCLUDED */ Signature · 1 line
1.7.7.6
Quoted 7 lines · Takashi Iwai
At Thu, 07 Nov 2013 11:14:29 +0800,
Quoted 5 lines · Chen Gang
Quoted 5 lines
When installing, "
scripts/headers_install.sh" will strip guard macro' "_UAPI" to prevent from appearing it to users. And also, all another files which need uapi prefix always use "_UAPI", not "UAPI".
Quoted 6 lines
Quoted 5 lines
Quoted 5 lines
So use "
_UAPI" instead of "UAPI" on the guard macro, and also give a comment for "#endif".Signed-off-by Chen Gang <[email protected]>Thanks, applied.
Thank you very much !!
Signature · 1 line
Chen Gang