From 54cb493f9702314058da0fea51b570e76ddc8617 Mon Sep 17 00:00:00 2001 From: Martin Roth Date: Sun, 23 Jul 2017 21:09:41 -0600 Subject: [PATCH] src/device: Add guards on all header files MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Change-Id: I8641f32ed2221f1d6e6dac884912251f64424f4d Signed-off-by: Martin Roth Reviewed-on: https://review.coreboot.org/20737 Tested-by: build bot (Jenkins) Reviewed-by: Paul Menzel Reviewed-by: Philippe Mathieu-Daudé Reviewed-by: Werner Zeh --- src/device/oprom/include/io.h | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/device/oprom/include/io.h b/src/device/oprom/include/io.h index fc11640f72..3a723bd056 100644 --- a/src/device/oprom/include/io.h +++ b/src/device/oprom/include/io.h @@ -11,6 +11,9 @@ * GNU General Public License for more details. */ +#ifndef __OPROM_IO_H__ +#define __OPROM_IO_H__ + #if IS_ENABLED(CONFIG_ARCH_X86) #include #else @@ -22,3 +25,4 @@ u8 inb(u16 port); u16 inw(u16 port); u32 inl(u16 port); #endif +#endif /* __OPROM_IO_H__ */