]> git.karo-electronics.de Git - karo-tx-linux.git/blobdiff - drivers/misc/lis3lv02d/lis3lv02d.h
Signed-off-by: Ilkka Koskinen <ilkka.koskinen@nokia.com>
[karo-tx-linux.git] / drivers / misc / lis3lv02d / lis3lv02d.h
index b94e72374810bba97243bd262582435ed0da7b56..2b1482ad3f16aedc776ef4429e6c9da7741c7d5a 100644 (file)
@@ -21,6 +21,7 @@
 #include <linux/platform_device.h>
 #include <linux/input-polldev.h>
 #include <linux/regulator/consumer.h>
+#include <linux/miscdevice.h>
 
 /*
  * This driver tries to support the "digital" accelerometer chips from
@@ -273,6 +274,8 @@ struct lis3lv02d {
        struct fasync_struct    *async_queue; /* queue for the misc device */
        wait_queue_head_t       misc_wait; /* Wait queue for the misc device */
        unsigned long           misc_opened; /* bit0: whether the device is open */
+       struct miscdevice       miscdev;
+
        int                     data_ready_count[2];
        atomic_t                wake_thread;
        unsigned char           irq_cfg;