diff options
Diffstat (limited to 'drivers/input/misc')
-rw-r--r-- | drivers/input/misc/cma3000_d0x.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/input/misc/cma3000_d0x.c b/drivers/input/misc/cma3000_d0x.c index 1633b6342267..09f8f2025580 100644 --- a/drivers/input/misc/cma3000_d0x.c +++ b/drivers/input/misc/cma3000_d0x.c | |||
@@ -114,8 +114,8 @@ static void decode_mg(struct cma3000_accl_data *data, int *datax, | |||
114 | static irqreturn_t cma3000_thread_irq(int irq, void *dev_id) | 114 | static irqreturn_t cma3000_thread_irq(int irq, void *dev_id) |
115 | { | 115 | { |
116 | struct cma3000_accl_data *data = dev_id; | 116 | struct cma3000_accl_data *data = dev_id; |
117 | int datax, datay, dataz; | 117 | int datax, datay, dataz, intr_status; |
118 | u8 ctrl, mode, range, intr_status; | 118 | u8 ctrl, mode, range; |
119 | 119 | ||
120 | intr_status = CMA3000_READ(data, CMA3000_INTSTATUS, "interrupt status"); | 120 | intr_status = CMA3000_READ(data, CMA3000_INTSTATUS, "interrupt status"); |
121 | if (intr_status < 0) | 121 | if (intr_status < 0) |