summaryrefslogtreecommitdiff
path: root/include/linux/platform_data/ad7291.h
diff options
context:
space:
mode:
authorLars-Peter Clausen <lars@metafoo.de>2014-06-30 12:50:00 +0400
committerJonathan Cameron <jic23@kernel.org>2014-07-09 00:17:30 +0400
commit3b1cae7c2c2b801b8530db07a02587bc1a41b3fe (patch)
treebe8dcd14bd0ff70d076eb8b1b26b87592fb68e77 /include/linux/platform_data/ad7291.h
parentcfa71bf35c87c79ad9a03a29a7426b495446b2bf (diff)
downloadlinux-3b1cae7c2c2b801b8530db07a02587bc1a41b3fe.tar.xz
staging:iio:ad7291: Move out of staging
The ad7291 driver is in a reasonable shape. It does not use non-standard API/ABI and there are no major style issues with the driver. So this patch moves it out of staging. There is one small warning from checkpatch which is also fixed in this patch. The patch also sorts the #include directives in alphabetical order. Signed-off-by: Lars-Peter Clausen <lars@metafoo.de> Signed-off-by: Jonathan Cameron <jic23@kernel.org>
Diffstat (limited to 'include/linux/platform_data/ad7291.h')
-rw-r--r--include/linux/platform_data/ad7291.h12
1 files changed, 12 insertions, 0 deletions
diff --git a/include/linux/platform_data/ad7291.h b/include/linux/platform_data/ad7291.h
new file mode 100644
index 000000000000..bbd89fa51188
--- /dev/null
+++ b/include/linux/platform_data/ad7291.h
@@ -0,0 +1,12 @@
+#ifndef __IIO_AD7291_H__
+#define __IIO_AD7291_H__
+
+/**
+ * struct ad7291_platform_data - AD7291 platform data
+ * @use_external_ref: Whether to use an external or internal reference voltage
+ */
+struct ad7291_platform_data {
+ bool use_external_ref;
+};
+
+#endif