diff options
author | Greg Kroah-Hartman <gregkh@suse.de> | 2005-10-28 01:25:43 -0400 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2005-10-28 12:52:55 -0400 |
commit | ea9f240bd819f9299703283e5326da606bbb4b05 (patch) | |
tree | 68b83a2a093a332c8fda8dfc695c73ebe084b014 /drivers/input/evdev.c | |
parent | b0fdfebb205fcbf394c3db39679a766b8fc4f07d (diff) |
[PATCH] INPUT: rename input_dev_class to input_class to be correct.
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'drivers/input/evdev.c')
-rw-r--r-- | drivers/input/evdev.c | 4 |
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 | ||