diff options
author | Samu Onkalo <samu.p.onkalo@nokia.com> | 2009-10-18 03:38:57 -0400 |
---|---|---|
committer | Dmitry Torokhov <dmitry.torokhov@gmail.com> | 2009-10-18 03:46:49 -0400 |
commit | b0aba1e66c38d64be2c7dbf4b08c71857031ab67 (patch) | |
tree | 1691861b033ef42331b30711a466025719f357c8 /drivers/input/misc/wistron_btns.c | |
parent | bc09dcadc1a3da87d58aa70ebc8e9441205be75c (diff) |
Input: add open and close methods for polled devices
Optional open and close methods for preparing and closing
the device.
Signed-off-by: Samu Onkalo <samu.p.onkalo@nokia.com>
Signed-off-by: Dmitry Torokhov <dtor@mail.ru>
Diffstat (limited to 'drivers/input/misc/wistron_btns.c')
-rw-r--r-- | drivers/input/misc/wistron_btns.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/input/misc/wistron_btns.c b/drivers/input/misc/wistron_btns.c index a932179c4c9e..00eb9d651d97 100644 --- a/drivers/input/misc/wistron_btns.c +++ b/drivers/input/misc/wistron_btns.c | |||
@@ -1263,7 +1263,7 @@ static int __devinit setup_input_dev(void) | |||
1263 | if (!wistron_idev) | 1263 | if (!wistron_idev) |
1264 | return -ENOMEM; | 1264 | return -ENOMEM; |
1265 | 1265 | ||
1266 | wistron_idev->flush = wistron_flush; | 1266 | wistron_idev->open = wistron_flush; |
1267 | wistron_idev->poll = wistron_poll; | 1267 | wistron_idev->poll = wistron_poll; |
1268 | wistron_idev->poll_interval = POLL_INTERVAL_DEFAULT; | 1268 | wistron_idev->poll_interval = POLL_INTERVAL_DEFAULT; |
1269 | 1269 | ||