aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/hid/hid-multitouch.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/hid/hid-multitouch.c')
-rw-r--r--drivers/hid/hid-multitouch.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/hid/hid-multitouch.c b/drivers/hid/hid-multitouch.c
index 32258ba60056..184ac0a42121 100644
--- a/drivers/hid/hid-multitouch.c
+++ b/drivers/hid/hid-multitouch.c
@@ -32,7 +32,6 @@
32#include <linux/slab.h> 32#include <linux/slab.h>
33#include <linux/usb.h> 33#include <linux/usb.h>
34#include <linux/input/mt.h> 34#include <linux/input/mt.h>
35#include "usbhid/usbhid.h"
36 35
37 36
38MODULE_AUTHOR("Stephane Chatty <chatty@enac.fr>"); 37MODULE_AUTHOR("Stephane Chatty <chatty@enac.fr>");
@@ -907,7 +906,7 @@ static int mt_resume(struct hid_device *hdev)
907 906
908 intf = to_usb_interface(hdev->dev.parent); 907 intf = to_usb_interface(hdev->dev.parent);
909 interface = intf->cur_altsetting; 908 interface = intf->cur_altsetting;
910 dev = hid_to_usb_dev(hdev); 909 dev = interface_to_usbdev(intf);
911 910
912 /* Some Elan legacy devices require SET_IDLE to be set on resume. 911 /* Some Elan legacy devices require SET_IDLE to be set on resume.
913 * It should be safe to send it to other devices too. 912 * It should be safe to send it to other devices too.