From 272eac4929e82a5dc36749c0a1ad0d646084178a Mon Sep 17 00:00:00 2001 From: Arthur Heymans Date: Tue, 31 May 2022 18:17:47 +0200 Subject: amdblocks/smm.h: Add header guards Change-Id: I5d01c36fa4695ee42d18701a90d1b96bceb5045f Signed-off-by: Arthur Heymans Reviewed-on: https://review.coreboot.org/c/coreboot/+/64864 Tested-by: build bot (Jenkins) Reviewed-by: Paul Menzel Reviewed-by: Fred Reitberger Reviewed-by: Elyes Haouas --- src/soc/amd/common/block/include/amdblocks/smm.h | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'src/soc') diff --git a/src/soc/amd/common/block/include/amdblocks/smm.h b/src/soc/amd/common/block/include/amdblocks/smm.h index 46008fae2e..4a44203ba9 100644 --- a/src/soc/amd/common/block/include/amdblocks/smm.h +++ b/src/soc/amd/common/block/include/amdblocks/smm.h @@ -1,5 +1,8 @@ /* SPDX-License-Identifier: GPL-2.0-only */ +#ifndef _AMDBLOCKS_SMM_H_ +#define _AMDBLOCKS_SMM_H_ + #include #include @@ -16,3 +19,5 @@ void handle_smi_store(void); void clear_tvalid(void); /* See SMITYPE_* for list possible of events. GEVENTS are handled with mainboard_smi_gpi. */ void mainboard_handle_smi(int event); + +#endif -- cgit v1.2.3