hwmon: lis3: Cleanup interrupt handling
[cascardo/linux.git] / drivers / hwmon / lis3lv02d.h
index c5c063d..e54a167 100644 (file)
@@ -271,6 +271,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 */
+       atomic_t                wake_thread;
+       unsigned char           irq_cfg;
 
        struct lis3lv02d_platform_data *pdata;  /* for passing board config */
        struct mutex            mutex;     /* Serialize poll and selftest */