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".
Unified · Split
| @@ -1,5 +1,5 @@ | ||
| 1 | −#ifndef UAPI_SOUND_FIREWIRE_H_INCLUDED | |
| 2 | −#define UAPI_SOUND_FIREWIRE_H_INCLUDED | |
| 1 | +#ifndef _UAPI_SOUND_FIREWIRE_H_INCLUDED | |
| 2 | +#define _UAPI_SOUND_FIREWIRE_H_INCLUDED | |
| 3 | 3 | |
| 4 | 4 | #include <linux/ioctl.h> |
| 5 | 5 | |
| @@ -48,4 +48,4 @@ struct snd_firewire_get_info { · 42 unmodified lines | ||
| 48 | 48 | * Returns -EBUSY if the driver is already streaming. |
| 49 | 49 | */ |
| 50 | 50 | |
| 51 | −#endif | |
| 51 | +#endif /* _UAPI_SOUND_FIREWIRE_H_INCLUDED */ | |