aboutsummaryrefslogtreecommitdiffstats
path: root/drivers
diff options
context:
space:
mode:
Diffstat (limited to 'drivers')
-rw-r--r--drivers/input/touchscreen/usbtouchscreen.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/input/touchscreen/usbtouchscreen.c b/drivers/input/touchscreen/usbtouchscreen.c
index b407028ffc59..741f6c6f1e50 100644
--- a/drivers/input/touchscreen/usbtouchscreen.c
+++ b/drivers/input/touchscreen/usbtouchscreen.c
@@ -767,7 +767,7 @@ static int usbtouch_probe(struct usb_interface *intf,
767 le16_to_cpu(udev->descriptor.idProduct)); 767 le16_to_cpu(udev->descriptor.idProduct));
768 768
769 usb_make_path(udev, usbtouch->phys, sizeof(usbtouch->phys)); 769 usb_make_path(udev, usbtouch->phys, sizeof(usbtouch->phys));
770 strlcpy(usbtouch->phys, "/input0", sizeof(usbtouch->phys)); 770 strlcat(usbtouch->phys, "/input0", sizeof(usbtouch->phys));
771 771
772 input_dev->name = usbtouch->name; 772 input_dev->name = usbtouch->name;
773 input_dev->phys = usbtouch->phys; 773 input_dev->phys = usbtouch->phys;