From fb2b0f2b1c9eb71579c9f53abfe2798fb3e66c8f Mon Sep 17 00:00:00 2001 From: James Roy Date: Tue, 24 Dec 2024 13:36:43 +0800 Subject: [PATCH] style: Inconsistent macro names changed Fix incorrect header file pre-macro names in 'dts/common'. Signed-off-by: James Roy --- dts/common/freq.h | 6 +++--- dts/common/mem.h | 6 +++--- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/dts/common/freq.h b/dts/common/freq.h index a232646eead..10522bcd175 100644 --- a/dts/common/freq.h +++ b/dts/common/freq.h @@ -4,10 +4,10 @@ * SPDX-License-Identifier: Apache-2.0 */ -#ifndef __DT_FREQ_H -#define __DT_FREQ_H +#ifndef ZEPHYR_DTS_COMMON_FREQ_H_ +#define ZEPHYR_DTS_COMMON_FREQ_H_ #define DT_FREQ_K(x) ((x) * 1000) #define DT_FREQ_M(x) (DT_FREQ_K(x) * 1000) -#endif /* __DT_FREQ_H */ +#endif /* ZEPHYR_DTS_COMMON_FREQ_H_ */ diff --git a/dts/common/mem.h b/dts/common/mem.h index f86ce61ee8d..db35f8e3770 100644 --- a/dts/common/mem.h +++ b/dts/common/mem.h @@ -4,8 +4,8 @@ * SPDX-License-Identifier: Apache-2.0 */ -#ifndef __DT_MEM_H -#define __DT_MEM_H +#ifndef ZEPHYR_DTS_COMMON_MEM_H_ +#define ZEPHYR_DTS_COMMON_MEM_H_ #define DT_SIZE_K(x) ((x) * 1024) #define DT_SIZE_M(x) (DT_SIZE_K(x) * 1024) @@ -15,4 +15,4 @@ #define DT_ADDR(a) _DT_DO_CONCAT(0x, a) -#endif /* __DT_MEM_H */ +#endif /* ZEPHYR_DTS_COMMON_MEM_H_ */