summaryrefslogtreecommitdiffstats
path: root/kernel/include/linux/platform_data/ad7291.h
diff options
context:
space:
mode:
Diffstat (limited to 'kernel/include/linux/platform_data/ad7291.h')
-rw-r--r--kernel/include/linux/platform_data/ad7291.h12
1 files changed, 12 insertions, 0 deletions
diff --git a/kernel/include/linux/platform_data/ad7291.h b/kernel/include/linux/platform_data/ad7291.h
new file mode 100644
index 000000000..bbd89fa51
--- /dev/null
+++ b/kernel/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