diff options
author | Lars-Peter Clausen <lars@metafoo.de> | 2012-08-17 19:57:00 +0400 |
---|---|---|
committer | Jonathan Cameron <jic23@kernel.org> | 2012-08-27 21:57:56 +0400 |
commit | 08d6005c031631429ed307a28503e00e3970c203 (patch) | |
tree | bdfe514e6717831de7f31461cd28976ad5c85bfc /include/linux/iio/kfifo_buf.h | |
parent | 88238fef16845c18abecb9285c97b0225f71d544 (diff) | |
download | linux-08d6005c031631429ed307a28503e00e3970c203.tar.xz |
iio: Add missing include guards to headers
Add include guards to the IIO headers where they are missing. This avoids
compile errors due to redefined types if a file is included more than once.
Signed-off-by: Lars-Peter Clausen <lars@metafoo.de>
Signed-off-by: Jonathan Cameron <jic23@kernel.org>
Diffstat (limited to 'include/linux/iio/kfifo_buf.h')
-rw-r--r-- | include/linux/iio/kfifo_buf.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/include/linux/iio/kfifo_buf.h b/include/linux/iio/kfifo_buf.h index 014d5a13b32b..25eeac762e84 100644 --- a/include/linux/iio/kfifo_buf.h +++ b/include/linux/iio/kfifo_buf.h @@ -1,3 +1,5 @@ +#ifndef __LINUX_IIO_KFIFO_BUF_H__ +#define __LINUX_IIO_KFIFO_BUF_H__ #include <linux/kfifo.h> #include <linux/iio/iio.h> @@ -6,3 +8,4 @@ struct iio_buffer *iio_kfifo_allocate(struct iio_dev *indio_dev); void iio_kfifo_free(struct iio_buffer *r); +#endif |