diff options
author | Greg Kroah-Hartman | 2005-10-28 07:25:43 +0200 |
---|---|---|
committer | Greg Kroah-Hartman | 2005-10-28 18:52:55 +0200 |
commit | ea9f240bd819f9299703283e5326da606bbb4b05 (patch) | |
tree | 68b83a2a093a332c8fda8dfc695c73ebe084b014 /drivers/input/tsdev.c | |
parent | [PATCH] INPUT: remove the input_class structure, as it is unused. (diff) | |
download | kernel-qcow2-linux-ea9f240bd819f9299703283e5326da606bbb4b05.tar.gz kernel-qcow2-linux-ea9f240bd819f9299703283e5326da606bbb4b05.tar.xz kernel-qcow2-linux-ea9f240bd819f9299703283e5326da606bbb4b05.zip |
[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/tsdev.c')
-rw-r--r-- | drivers/input/tsdev.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/input/tsdev.c b/drivers/input/tsdev.c index 0581edb9a560..75e165736655 100644 --- a/drivers/input/tsdev.c +++ b/drivers/input/tsdev.c @@ -409,7 +409,7 @@ static struct input_handle *tsdev_connect(struct input_handler *handler, tsdev_table[minor] = tsdev; - class_device_create(&input_dev_class, &dev->cdev, + class_device_create(&input_class, &dev->cdev, MKDEV(INPUT_MAJOR, TSDEV_MINOR_BASE + minor), dev->cdev.dev, "ts%d", minor); @@ -421,7 +421,7 @@ static void tsdev_disconnect(struct input_handle *handle) struct tsdev *tsdev = handle->private; struct tsdev_list *list; - class_device_destroy(&input_dev_class, + class_device_destroy(&input_class, MKDEV(INPUT_MAJOR, TSDEV_MINOR_BASE + tsdev->minor)); tsdev->exist = 0; |