diff options
author | Lars-Peter Clausen <lars@metafoo.de> | 2012-08-17 16:57:00 +0100 |
---|---|---|
committer | Jonathan Cameron <jic23@kernel.org> | 2012-08-27 18:57:56 +0100 |
commit | 08d6005c031631429ed307a28503e00e3970c203 (patch) | |
tree | bdfe514e6717831de7f31461cd28976ad5c85bfc /include/linux/iio/machine.h | |
parent | 88238fef16845c18abecb9285c97b0225f71d544 (diff) | |
download | blackbird-op-linux-08d6005c031631429ed307a28503e00e3970c203.tar.gz blackbird-op-linux-08d6005c031631429ed307a28503e00e3970c203.zip |
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/machine.h')
-rw-r--r-- | include/linux/iio/machine.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/include/linux/iio/machine.h b/include/linux/iio/machine.h index 400a453ff67b..809a3f08d5a5 100644 --- a/include/linux/iio/machine.h +++ b/include/linux/iio/machine.h @@ -8,6 +8,9 @@ * the Free Software Foundation. */ +#ifndef __LINUX_IIO_MACHINE_H__ +#define __LINUX_IIO_MACHINE_H__ + /** * struct iio_map - description of link between consumer and device channels * @adc_channel_label: Label used to identify the channel on the provider. @@ -22,3 +25,5 @@ struct iio_map { const char *consumer_dev_name; const char *consumer_channel; }; + +#endif |