aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHeinrich Schuchardt <heinrich.schuchardt@canonical.com>2023-04-17 09:08:56 +0200
committerSimon Glass <sjg@chromium.org>2023-04-28 11:30:18 -0600
commitc383e85434f1f278a55134213cd1b7125185c429 (patch)
tree0ae5b691eb59f16efb59a67d2296b59ba49bba57
parente0dda26c2e9fb4150a5ab0b8b5ad58da5dd355cd (diff)
downloadu-boot-c383e85434f1f278a55134213cd1b7125185c429.zip
u-boot-c383e85434f1f278a55134213cd1b7125185c429.tar.gz
u-boot-c383e85434f1f278a55134213cd1b7125185c429.tar.bz2
sandbox: correct posix_types.h define
arch/arm/include/asm/posix_types.h and arch/sandbox/include/asm/posix_types.h should use different defines. Add SPDX header. Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com> Reviewed-by: Simon Glass <sjg@chromium.org>
-rw-r--r--arch/sandbox/include/asm/posix_types.h7
1 files changed, 4 insertions, 3 deletions
diff --git a/arch/sandbox/include/asm/posix_types.h b/arch/sandbox/include/asm/posix_types.h
index ec18ed7..e1442c4 100644
--- a/arch/sandbox/include/asm/posix_types.h
+++ b/arch/sandbox/include/asm/posix_types.h
@@ -1,5 +1,6 @@
+/* SPDX-License-Identifier: GPL-2.0 */
/*
- * linux/include/asm-arm/posix_types.h
+ * Based on linux/include/asm-arm/posix_types.h
*
* Copyright (C) 1996-1998 Russell King.
*
@@ -10,8 +11,8 @@
* Changelog:
* 27-06-1996 RMK Created
*/
-#ifndef __ARCH_ARM_POSIX_TYPES_H
-#define __ARCH_ARM_POSIX_TYPES_H
+#ifndef __ARCH_SANDBOX_POSIX_TYPES_H
+#define __ARCH_SANDBOX_POSIX_TYPES_H
/*
* This file is generally used by user-level software, so you need to