summaryrefslogtreecommitdiff
path: root/i386/i386at/i8250.h
diff options
context:
space:
mode:
authorMarin Ramesa <mpr@hi.t-com.hr>2013-11-30 11:16:02 +0100
committerSamuel Thibault <samuel.thibault@ens-lyon.org>2013-12-08 23:07:21 +0900
commit3ff76bcbb9853054a91f6292da85d3dad47382fe (patch)
tree7b31174f146ba60aae27e65bac553a4538f6a0fc /i386/i386at/i8250.h
parent5eb7693cd909511308b6c2828686d51375a3506a (diff)
Add ifndefs
* i386/i386at/cram.h [_CRAM_H_]: Add ifndef. * i386/i386at/disk.h [_DISK_H_]: Likewise. * i386/i386at/i8250.h [_I8250_H_]: Likewise. * i386/include/mach/i386/asm.h [_MACH_I386_ASM_H_]: Likewise. * i386/include/mach/i386/disk.h [_MACH_I386_DISK_H_]: Likewise.
Diffstat (limited to 'i386/i386at/i8250.h')
-rw-r--r--i386/i386at/i8250.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/i386/i386at/i8250.h b/i386/i386at/i8250.h
index fa81173..9b8a801 100644
--- a/i386/i386at/i8250.h
+++ b/i386/i386at/i8250.h
@@ -49,6 +49,9 @@ WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
* Header file for i8250 chip
*/
+#ifndef _I8250_H_
+#define _I8250_H_
+
/* port offsets from the base i/o address */
#define RDAT 0
@@ -127,3 +130,5 @@ WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
#define BCNT2400 0x30
#define BCNT4800 0x18
#define BCNT9600 0x0c
+
+#endif /* _I8250_H_ */