diff options
Diffstat (limited to 'drivers/input/misc')
| -rw-r--r-- | drivers/input/misc/ati_remote.c | 2 | ||||
| -rw-r--r-- | drivers/input/misc/powermate.c | 2 | ||||
| -rw-r--r-- | drivers/input/misc/wistron_btns.c | 2 | 
3 files changed, 3 insertions, 3 deletions
diff --git a/drivers/input/misc/ati_remote.c b/drivers/input/misc/ati_remote.c index e290fde35e7..614b65d78fe 100644 --- a/drivers/input/misc/ati_remote.c +++ b/drivers/input/misc/ati_remote.c @@ -766,7 +766,7 @@ static int ati_remote_probe(struct usb_interface *interface, const struct usb_de  	ati_remote->interface = interface;  	usb_make_path(udev, ati_remote->phys, sizeof(ati_remote->phys)); -	strlcpy(ati_remote->phys, "/input0", sizeof(ati_remote->phys)); +	strlcat(ati_remote->phys, "/input0", sizeof(ati_remote->phys));  	if (udev->manufacturer)  		strlcpy(ati_remote->name, udev->manufacturer, sizeof(ati_remote->name)); diff --git a/drivers/input/misc/powermate.c b/drivers/input/misc/powermate.c index a53c4885fba..668913d1204 100644 --- a/drivers/input/misc/powermate.c +++ b/drivers/input/misc/powermate.c @@ -338,7 +338,7 @@ static int powermate_probe(struct usb_interface *intf, const struct usb_device_i  	pm->input = input_dev;  	usb_make_path(udev, pm->phys, sizeof(pm->phys)); -	strlcpy(pm->phys, "/input0", sizeof(pm->phys)); +	strlcat(pm->phys, "/input0", sizeof(pm->phys));  	spin_lock_init(&pm->lock); diff --git a/drivers/input/misc/wistron_btns.c b/drivers/input/misc/wistron_btns.c index a932179c4c9..00eb9d651d9 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)  	if (!wistron_idev)  		return -ENOMEM; -	wistron_idev->flush = wistron_flush; +	wistron_idev->open = wistron_flush;  	wistron_idev->poll = wistron_poll;  	wistron_idev->poll_interval = POLL_INTERVAL_DEFAULT;  |