Skip to contentSkip to conversation

x86: added 'ifndef _ASM_X86_IOMAP_H' to iomap.h

tip:x86/cleanups tip-bot for Remis Lima Baima 1 participant 1 message Apr 30, 2009 1 message not in the archive x86

lore
Share & tools
lore
#1 lore raw
In reply to a message not in the archive
Commit-ID:  bf293c17b26b8854241df08b9b63f7270cbde012
Gitweb:     http://git.kernel.org/tip/bf293c17b26b8854241df08b9b63f7270cbde012
Author:     Remis Lima Baima <[email protected]>
AuthorDate: Thu, 30 Apr 2009 18:36:23 +0200
Committer:  Ingo Molnar <[email protected]>
CommitDate: Thu, 30 Apr 2009 19:26:11 +0200

x86: added 'ifndef _ASM_X86_IOMAP_H' to iomap.h

iomap.h misses the include guards.

[ Impact: cleanup ]

LKML-Reference: <[email protected]>

---
 arch/x86/include/asm/iomap.h |    5 +++++
 1 files changed, 5 insertions(+), 0 deletions(-)
arch/x86/include/asm/iomap.h +5 -0
index 86af260..0e9fe1d 100644
@@ -1,3 +1,6 @@
+#ifndef _ASM_X86_IOMAP_H
+#define _ASM_X86_IOMAP_H
+
 /*
  * Copyright © 2008 Ingo Molnar
  *
@@ -31,3 +34,5 @@ iomap_atomic_prot_pfn(unsigned long pfn, enum km_type type, pgprot_t prot);
 
 void
 iounmap_atomic(void *kvaddr, enum km_type type);
+
+#endif /* _ASM_X86_IOMAP_H */