aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/input/evdev.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/input/evdev.c')
-rw-r--r--drivers/input/evdev.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/input/evdev.c b/drivers/input/evdev.c
index 579041ded4be..2a96b260a2a8 100644
--- a/drivers/input/evdev.c
+++ b/drivers/input/evdev.c
@@ -686,7 +686,7 @@ static struct input_handle *evdev_connect(struct input_handler *handler, struct
686 686
687 evdev_table[minor] = evdev; 687 evdev_table[minor] = evdev;
688 688
689 class_device_create(&input_dev_class, &dev->cdev, 689 class_device_create(&input_class, &dev->cdev,
690 MKDEV(INPUT_MAJOR, EVDEV_MINOR_BASE + minor), 690 MKDEV(INPUT_MAJOR, EVDEV_MINOR_BASE + minor),
691 dev->cdev.dev, "event%d", minor); 691 dev->cdev.dev, "event%d", minor);
692 692
@@ -698,7 +698,7 @@ static void evdev_disconnect(struct input_handle *handle)
698 struct evdev *evdev = handle->private; 698 struct evdev *evdev = handle->private;
699 struct evdev_list *list; 699 struct evdev_list *list;
700 700
701 class_device_destroy(&input_dev_class, 701 class_device_destroy(&input_class,
702 MKDEV(INPUT_MAJOR, EVDEV_MINOR_BASE + evdev->minor)); 702 MKDEV(INPUT_MAJOR, EVDEV_MINOR_BASE + evdev->minor));
703 evdev->exist = 0; 703 evdev->exist = 0;
704 704