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/mousedev.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/mousedev.c')
-rw-r--r-- | drivers/input/mousedev.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/drivers/input/mousedev.c b/drivers/input/mousedev.c index 5ec6291e967f..de2808fc85b3 100644 --- a/drivers/input/mousedev.c +++ b/drivers/input/mousedev.c | |||
@@ -648,7 +648,7 @@ static struct input_handle *mousedev_connect(struct input_handler *handler, stru | |||
648 | 648 | ||
649 | mousedev_table[minor] = mousedev; | 649 | mousedev_table[minor] = mousedev; |
650 | 650 | ||
651 | class_device_create(&input_dev_class, &dev->cdev, | 651 | class_device_create(&input_class, &dev->cdev, |
652 | MKDEV(INPUT_MAJOR, MOUSEDEV_MINOR_BASE + minor), | 652 | MKDEV(INPUT_MAJOR, MOUSEDEV_MINOR_BASE + minor), |
653 | dev->cdev.dev, "mouse%d", minor); | 653 | dev->cdev.dev, "mouse%d", minor); |
654 | 654 | ||
@@ -660,7 +660,7 @@ static void mousedev_disconnect(struct input_handle *handle) | |||
660 | struct mousedev *mousedev = handle->private; | 660 | struct mousedev *mousedev = handle->private; |
661 | struct mousedev_list *list; | 661 | struct mousedev_list *list; |
662 | 662 | ||
663 | class_device_destroy(&input_dev_class, | 663 | class_device_destroy(&input_class, |
664 | MKDEV(INPUT_MAJOR, MOUSEDEV_MINOR_BASE + mousedev->minor)); | 664 | MKDEV(INPUT_MAJOR, MOUSEDEV_MINOR_BASE + mousedev->minor)); |
665 | mousedev->exist = 0; | 665 | mousedev->exist = 0; |
666 | 666 | ||
@@ -734,7 +734,7 @@ static int __init mousedev_init(void) | |||
734 | mousedev_mix.exist = 1; | 734 | mousedev_mix.exist = 1; |
735 | mousedev_mix.minor = MOUSEDEV_MIX; | 735 | mousedev_mix.minor = MOUSEDEV_MIX; |
736 | 736 | ||
737 | class_device_create(&input_dev_class, NULL, | 737 | class_device_create(&input_class, NULL, |
738 | MKDEV(INPUT_MAJOR, MOUSEDEV_MINOR_BASE + MOUSEDEV_MIX), NULL, "mice"); | 738 | MKDEV(INPUT_MAJOR, MOUSEDEV_MINOR_BASE + MOUSEDEV_MIX), NULL, "mice"); |
739 | 739 | ||
740 | #ifdef CONFIG_INPUT_MOUSEDEV_PSAUX | 740 | #ifdef CONFIG_INPUT_MOUSEDEV_PSAUX |
@@ -753,7 +753,7 @@ static void __exit mousedev_exit(void) | |||
753 | if (psaux_registered) | 753 | if (psaux_registered) |
754 | misc_deregister(&psaux_mouse); | 754 | misc_deregister(&psaux_mouse); |
755 | #endif | 755 | #endif |
756 | class_device_destroy(&input_dev_class, | 756 | class_device_destroy(&input_class, |
757 | MKDEV(INPUT_MAJOR, MOUSEDEV_MINOR_BASE + MOUSEDEV_MIX)); | 757 | MKDEV(INPUT_MAJOR, MOUSEDEV_MINOR_BASE + MOUSEDEV_MIX)); |
758 | input_unregister_handler(&mousedev_handler); | 758 | input_unregister_handler(&mousedev_handler); |
759 | } | 759 | } |