diff options
| author | Himanshu Aggarwal <haggarwa@codeaurora.org> | 2015-07-01 16:08:23 +0530 |
|---|---|---|
| committer | David Keitel <dkeitel@codeaurora.org> | 2016-03-23 20:57:59 -0700 |
| commit | bffcee84f0fae0514fb142a2dcf8eb7324cef732 (patch) | |
| tree | 27c0ac10e7566b95d6cd25baa9ebb9eff5b2bfca /drivers/input/touchscreen | |
| parent | 47058cc1afb4d54b401fb798f575bf5d9bd61519 (diff) | |
drivers: atmel_maxtouch_ts: fix compilation errors
Fix compilation errors when secure touch feature is enabled.
Change-Id: I9efd1aee5b9615b065d556c4a19d6bf790221db1
Signed-off-by: Himanshu Aggarwal <haggarwa@codeaurora.org>
Diffstat (limited to 'drivers/input/touchscreen')
| -rw-r--r-- | drivers/input/touchscreen/atmel_maxtouch_ts.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/input/touchscreen/atmel_maxtouch_ts.c b/drivers/input/touchscreen/atmel_maxtouch_ts.c index 691146f1871c..f58fc8555156 100644 --- a/drivers/input/touchscreen/atmel_maxtouch_ts.c +++ b/drivers/input/touchscreen/atmel_maxtouch_ts.c @@ -3727,7 +3727,7 @@ static ssize_t mxt_secure_touch_enable_store(struct device *dev, err = -EIO; break; } - INIT_COMPLETION(data->st_powerdown); + reinit_completion(&data->st_powerdown); atomic_set(&data->st_enabled, 1); synchronize_irq(data->client->irq); atomic_set(&data->st_pending_irqs, 0); |
