summaryrefslogtreecommitdiffstats
path: root/drivers/staging/iio/frequency
diff options
context:
space:
mode:
authorCristina Opriceana <cristina.opriceana@gmail.com>2015-03-04 02:37:15 +0200
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2015-03-06 09:54:33 -0800
commit37e3be9de378d4775c617b0649ff89a6dc6bf07d (patch)
tree969aa78b57066bc955d9fb074a35814d1c70158d /drivers/staging/iio/frequency
parente384b69a35ae96055774dbce9dea813043e21142 (diff)
Staging: iio: Added define guards where needed
The following files were added define guards to prevent multiple inclusion. Signed-off-by: Cristina Opriceana <cristina.opriceana@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/staging/iio/frequency')
-rw-r--r--drivers/staging/iio/frequency/dds.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/drivers/staging/iio/frequency/dds.h b/drivers/staging/iio/frequency/dds.h
index 611e2b0cfc4c..fe53e7324c94 100644
--- a/drivers/staging/iio/frequency/dds.h
+++ b/drivers/staging/iio/frequency/dds.h
@@ -5,6 +5,8 @@
*
* Licensed under the GPL-2 or later.
*/
+#ifndef IIO_DDS_H_
+#define IIO_DDS_H_
/**
* /sys/bus/iio/devices/.../out_altvoltageX_frequencyY
@@ -108,3 +110,5 @@
#define IIO_CONST_ATTR_OUT_WAVETYPES_AVAILABLE(_channel, _output, _modes)\
IIO_CONST_ATTR( \
out_altvoltage##_channel##_out##_output##_wavetype_available, _modes)
+
+#endif /* IIO_DDS_H_ */