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/joydev.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/joydev.c')
-rw-r--r-- | drivers/input/joydev.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/input/joydev.c b/drivers/input/joydev.c index 9c17d1add260..25f7eba4761f 100644 --- a/drivers/input/joydev.c +++ b/drivers/input/joydev.c | |||
@@ -513,7 +513,7 @@ static struct input_handle *joydev_connect(struct input_handler *handler, struct | |||
513 | 513 | ||
514 | joydev_table[minor] = joydev; | 514 | joydev_table[minor] = joydev; |
515 | 515 | ||
516 | class_device_create(&input_dev_class, &dev->cdev, | 516 | class_device_create(&input_class, &dev->cdev, |
517 | MKDEV(INPUT_MAJOR, JOYDEV_MINOR_BASE + minor), | 517 | MKDEV(INPUT_MAJOR, JOYDEV_MINOR_BASE + minor), |
518 | dev->cdev.dev, "js%d", minor); | 518 | dev->cdev.dev, "js%d", minor); |
519 | 519 | ||
@@ -525,7 +525,7 @@ static void joydev_disconnect(struct input_handle *handle) | |||
525 | struct joydev *joydev = handle->private; | 525 | struct joydev *joydev = handle->private; |
526 | struct joydev_list *list; | 526 | struct joydev_list *list; |
527 | 527 | ||
528 | class_device_destroy(&input_dev_class, MKDEV(INPUT_MAJOR, JOYDEV_MINOR_BASE + joydev->minor)); | 528 | class_device_destroy(&input_class, MKDEV(INPUT_MAJOR, JOYDEV_MINOR_BASE + joydev->minor)); |
529 | joydev->exist = 0; | 529 | joydev->exist = 0; |
530 | 530 | ||
531 | if (joydev->open) { | 531 | if (joydev->open) { |