diff options
-rw-r--r-- | src/commonlib/bsd/include/commonlib/bsd/clamp.h (renamed from src/commonlib/include/commonlib/clamp.h) | 8 | ||||
-rw-r--r-- | src/northbridge/intel/sandybridge/raminit_native.c | 2 |
2 files changed, 5 insertions, 5 deletions
diff --git a/src/commonlib/include/commonlib/clamp.h b/src/commonlib/bsd/include/commonlib/bsd/clamp.h index e01a107ed4..66513b0337 100644 --- a/src/commonlib/include/commonlib/clamp.h +++ b/src/commonlib/bsd/include/commonlib/bsd/clamp.h @@ -1,7 +1,7 @@ -/* SPDX-License-Identifier: GPL-2.0-only */ +/* SPDX-License-Identifier: BSD-3-Clause OR GPL-2.0-or-later */ -#ifndef COMMONLIB_CLAMP_H -#define COMMONLIB_CLAMP_H +#ifndef COMMONLIB_BSD_CLAMP_H +#define COMMONLIB_BSD_CLAMP_H #include <stdint.h> @@ -19,4 +19,4 @@ static inline u32 clamp_u32(const u32 min, const u32 val, const u32 max) return val; } -#endif /* COMMONLIB_CLAMP_H */ +#endif /* COMMONLIB_BSD_CLAMP_H */ diff --git a/src/northbridge/intel/sandybridge/raminit_native.c b/src/northbridge/intel/sandybridge/raminit_native.c index ca26628704..7141116840 100644 --- a/src/northbridge/intel/sandybridge/raminit_native.c +++ b/src/northbridge/intel/sandybridge/raminit_native.c @@ -1,6 +1,6 @@ /* SPDX-License-Identifier: GPL-2.0-only */ -#include <commonlib/clamp.h> +#include <commonlib/bsd/clamp.h> #include <console/console.h> #include <console/usb.h> #include <cpu/intel/model_206ax/model_206ax.h> |