use '#pragma once' include guards

Signed-off-by: Axel Heider <axel.heider@hensoldt-cyber.de>
This commit is contained in:
Axel Heider
2021-06-18 17:16:51 +02:00
committed by Kent McLeod
parent 106c63e687
commit d1fb5c01a7

View File

@@ -23,8 +23,8 @@ HEADER_TEMPLATE = '''/*
* This file is autogenerated by kernel/tools/hardware_gen.py.
*/
#ifndef __PLAT_DEVICES_GEN_H
#define __PLAT_DEVICES_GEN_H
#pragma once
#include <linker.h>
#ifndef KDEV_BASE
@@ -105,7 +105,6 @@ static const p_region_t BOOT_RODATA avail_p_regs[] = {
#endif /* !__ASSEMBLER__ */
#endif /* __PLAT_DEVICES_GEN_H */
'''