]> Zhao Yanbai Git Server - minix.git/commitdiff
driver.h - missing guardian
authorTomas Hruby <tom@minix3.org>
Thu, 29 Jul 2010 10:53:50 +0000 (10:53 +0000)
committerTomas Hruby <tom@minix3.org>
Thu, 29 Jul 2010 10:53:50 +0000 (10:53 +0000)
include/minix/driver.h

index 56af37aaad8a0d4adc10776024f60453f9f64eb0..b5272b8101b2a54a363d1849e015469d4d7e4101 100644 (file)
@@ -1,3 +1,6 @@
+#ifndef __MINIX_DRIVER_H__
+#define __MINIX_DRIVER_H__
+
 /* Types and constants shared between the generic and device dependent
  * device driver code.
  */
@@ -95,3 +98,5 @@ extern u8_t *tmp_buf;                 /* the DMA buffer */
 extern u8_t tmp_buf[];                 /* the DMA buffer */
 #endif
 extern phys_bytes tmp_phys;            /* phys address of DMA buffer */
+
+#endif /* __MINIX_DRIVER_H__ */