summaryrefslogtreecommitdiffstats
path: root/kernel/drivers/staging/iio/resolver/ad2s1210.h
diff options
context:
space:
mode:
Diffstat (limited to 'kernel/drivers/staging/iio/resolver/ad2s1210.h')
-rw-r--r--kernel/drivers/staging/iio/resolver/ad2s1210.h20
1 files changed, 20 insertions, 0 deletions
diff --git a/kernel/drivers/staging/iio/resolver/ad2s1210.h b/kernel/drivers/staging/iio/resolver/ad2s1210.h
new file mode 100644
index 000000000..c7158f6e6
--- /dev/null
+++ b/kernel/drivers/staging/iio/resolver/ad2s1210.h
@@ -0,0 +1,20 @@
+/*
+ * ad2s1210.h plaform data for the ADI Resolver to Digital Converters:
+ * AD2S1210
+ *
+ * Copyright (c) 2010-2010 Analog Devices Inc.
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License version 2 as
+ * published by the Free Software Foundation.
+ */
+#ifndef _AD2S1210_H
+#define _AD2S1210_H
+
+struct ad2s1210_platform_data {
+ unsigned sample;
+ unsigned a[2];
+ unsigned res[2];
+ bool gpioin;
+};
+#endif /* _AD2S1210_H */