diff mbox series

[103/108] x86: Correct the assembly guard in e802.h

Message ID 20200126220508.103.I53dd50cd3b5d7b10e23a609538b86989ba9b580a@changeid
State Accepted
Commit 3a25073a40e0351375c2784c1cdc2a2b327bb4c3
Headers show
Series RFC: dm: Add programatic generation of ACPI tables | expand

Commit Message

Simon Glass Jan. 27, 2020, 5:06 a.m. UTC
This is currently in the wrong place so including the file in the device
tree fails. Fix it.

Signed-off-by: Simon Glass <sjg at chromium.org>
---

 arch/x86/include/asm/e820.h | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)
diff mbox series

Patch

diff --git a/arch/x86/include/asm/e820.h b/arch/x86/include/asm/e820.h
index 9d29f82f97..87af0f492e 100644
--- a/arch/x86/include/asm/e820.h
+++ b/arch/x86/include/asm/e820.h
@@ -21,10 +21,9 @@  struct e820_entry {
 #define ISA_START_ADDRESS	0xa0000
 #define ISA_END_ADDRESS		0x100000
 
-#endif /* __ASSEMBLY__ */
-
 /* Implementation defined function to install an e820 map */
 unsigned int install_e820_map(unsigned int max_entries,
 			      struct e820_entry *);
+#endif /* __ASSEMBLY__ */
 
 #endif /* _ASM_X86_E820_H */