summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorIan Abbott <abbotti@mev.co.uk>2012-06-19 10:17:45 +0100
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2012-06-20 12:56:55 -0700
commit97ce84de8c19823ab0377a7ffc7fa25a8caa6ab8 (patch)
treef7bfb130ba2186f28a1b97c735b77be66847b960
parent3a5fa27516116352e810b2122afd82c3d5cbcc7e (diff)
downloadlinux-97ce84de8c19823ab0377a7ffc7fa25a8caa6ab8.tar.bz2
staging: comedi: comedi_internal.h inclusion guards
Add a multiple inclusion guard macro to "comedi_internal.h". Signed-off-by: Ian Abbott <abbotti@mev.co.uk> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
-rw-r--r--drivers/staging/comedi/comedi_internal.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/drivers/staging/comedi/comedi_internal.h b/drivers/staging/comedi/comedi_internal.h
index 7ed20a04eef5..b004963a3d63 100644
--- a/drivers/staging/comedi/comedi_internal.h
+++ b/drivers/staging/comedi/comedi_internal.h
@@ -1,3 +1,6 @@
+#ifndef _COMEDI_INTERNAL_H
+#define _COMEDI_INTERNAL_H
+
/*
* various internal comedi stuff
*/
@@ -14,3 +17,5 @@ int comedi_buf_alloc(struct comedi_device *dev, struct comedi_subdevice *s,
extern unsigned int comedi_default_buf_size_kb;
extern unsigned int comedi_default_buf_maxsize_kb;
+
+#endif /* _COMEDI_INTERNAL_H */