summaryrefslogtreecommitdiff
path: root/drivers/staging/adis16255/adis16255.h
diff options
context:
space:
mode:
authormatthias <mensch0815@googlemail.com>2010-04-29 15:05:56 (GMT)
committerGreg Kroah-Hartman <gregkh@suse.de>2010-05-11 18:35:57 (GMT)
commit3c034cce822d7422566e838de71ed99e024d5f2d (patch)
tree9310051f1d4229519acd5aa685df18715b5403be /drivers/staging/adis16255/adis16255.h
parentbebdf809eecd4da4b6c3d419c4ce0ccd17b2f90f (diff)
downloadlinux-fsl-qoriq-3c034cce822d7422566e838de71ed99e024d5f2d.tar.xz
Staging: add driver for adis16255 gyroscope
This drivers allows a communication with the Analog Devices ADIS16255 Low Power Gyroscope over SPI. Signed-off-by: Matthias Brugger <mensch0815@gmail.com> Cc: Jiri Slaby <jirislaby@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'drivers/staging/adis16255/adis16255.h')
-rw-r--r--drivers/staging/adis16255/adis16255.h12
1 files changed, 12 insertions, 0 deletions
diff --git a/drivers/staging/adis16255/adis16255.h b/drivers/staging/adis16255/adis16255.h
new file mode 100644
index 0000000..03e0700
--- /dev/null
+++ b/drivers/staging/adis16255/adis16255.h
@@ -0,0 +1,12 @@
+#ifndef ADIS16255_H
+#define ADIS16255_H
+
+#include <linux/types.h>
+
+struct adis16255_init_data {
+ char direction;
+ u8 negative;
+ int irq;
+};
+
+#endif