]> bbs.cooldavid.org Git - net-next-2.6.git/blobdiff - drivers/hwmon/lis3lv02d.h
8139cp: fix checksum broken
[net-next-2.6.git] / drivers / hwmon / lis3lv02d.h
index 77ebb15ea0b3cd4396ce722336573d2dfbfe4951..a1939589eb2c47e9067ecc85911a19cede974503 100644 (file)
@@ -244,6 +244,7 @@ struct lis3lv02d {
        int (*init) (struct lis3lv02d *lis3);
        int (*write) (struct lis3lv02d *lis3, int reg, u8 val);
        int (*read) (struct lis3lv02d *lis3, int reg, u8 *ret);
+       int (*blkread) (struct lis3lv02d *lis3, int reg, int len, u8 *ret);
        int (*reg_ctrl) (struct lis3lv02d *lis3, bool state);
 
        int                     *odrs;     /* Supported output data rates */
@@ -272,7 +273,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;
+       int                     data_ready_count[2];
+       atomic_t                wake_thread;
        unsigned char           irq_cfg;
 
        struct lis3lv02d_platform_data *pdata;  /* for passing board config */