Skip to content

Commit fb2b0f2

Browse files
rruuaanngkartben
authored andcommitted
style: Inconsistent macro names changed
Fix incorrect header file pre-macro names in 'dts/common'. Signed-off-by: James Roy <[email protected]>
1 parent e8fe241 commit fb2b0f2

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

dts/common/freq.h

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,10 +4,10 @@
44
* SPDX-License-Identifier: Apache-2.0
55
*/
66

7-
#ifndef __DT_FREQ_H
8-
#define __DT_FREQ_H
7+
#ifndef ZEPHYR_DTS_COMMON_FREQ_H_
8+
#define ZEPHYR_DTS_COMMON_FREQ_H_
99

1010
#define DT_FREQ_K(x) ((x) * 1000)
1111
#define DT_FREQ_M(x) (DT_FREQ_K(x) * 1000)
1212

13-
#endif /* __DT_FREQ_H */
13+
#endif /* ZEPHYR_DTS_COMMON_FREQ_H_ */

dts/common/mem.h

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,8 @@
44
* SPDX-License-Identifier: Apache-2.0
55
*/
66

7-
#ifndef __DT_MEM_H
8-
#define __DT_MEM_H
7+
#ifndef ZEPHYR_DTS_COMMON_MEM_H_
8+
#define ZEPHYR_DTS_COMMON_MEM_H_
99

1010
#define DT_SIZE_K(x) ((x) * 1024)
1111
#define DT_SIZE_M(x) (DT_SIZE_K(x) * 1024)
@@ -15,4 +15,4 @@
1515

1616
#define DT_ADDR(a) _DT_DO_CONCAT(0x, a)
1717

18-
#endif /* __DT_MEM_H */
18+
#endif /* ZEPHYR_DTS_COMMON_MEM_H_ */

0 commit comments

Comments
 (0)