aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/iio/machine.h
diff options
context:
space:
mode:
authorLars-Peter Clausen <lars@metafoo.de>2012-08-17 11:57:00 -0400
committerJonathan Cameron <jic23@kernel.org>2012-08-27 13:57:56 -0400
commit08d6005c031631429ed307a28503e00e3970c203 (patch)
treebdfe514e6717831de7f31461cd28976ad5c85bfc /include/linux/iio/machine.h
parent88238fef16845c18abecb9285c97b0225f71d544 (diff)
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.h5
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 @@
8 * the Free Software Foundation. 8 * the Free Software Foundation.
9 */ 9 */
10 10
11#ifndef __LINUX_IIO_MACHINE_H__
12#define __LINUX_IIO_MACHINE_H__
13
11/** 14/**
12 * struct iio_map - description of link between consumer and device channels 15 * struct iio_map - description of link between consumer and device channels
13 * @adc_channel_label: Label used to identify the channel on the provider. 16 * @adc_channel_label: Label used to identify the channel on the provider.
@@ -22,3 +25,5 @@ struct iio_map {
22 const char *consumer_dev_name; 25 const char *consumer_dev_name;
23 const char *consumer_channel; 26 const char *consumer_channel;
24}; 27};
28
29#endif