aboutsummaryrefslogtreecommitdiffstats
path: root/drivers
diff options
context:
space:
mode:
authorGreg Kroah-Hartman <gregkh@suse.de>2005-10-28 01:25:43 -0400
committerGreg Kroah-Hartman <gregkh@suse.de>2005-10-28 12:52:54 -0400
commit23d50901617c2a8bdef509279a42d2e90f523db9 (patch)
tree9e8602bb82cbd2d56738fb93d34594d02e8d0476 /drivers
parent102040204f1949562406b72007c14a2a241cb0d9 (diff)
[PATCH] INPUT: export input_dev_class so that input drivers can use it.
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'drivers')
-rw-r--r--drivers/input/input.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/input/input.c b/drivers/input/input.c
index 03c2ca404f20..b0ede4cc72b7 100644
--- a/drivers/input/input.c
+++ b/drivers/input/input.c
@@ -40,6 +40,7 @@ EXPORT_SYMBOL(input_accept_process);
40EXPORT_SYMBOL(input_flush_device); 40EXPORT_SYMBOL(input_flush_device);
41EXPORT_SYMBOL(input_event); 41EXPORT_SYMBOL(input_event);
42EXPORT_SYMBOL(input_class); 42EXPORT_SYMBOL(input_class);
43EXPORT_SYMBOL_GPL(input_dev_class);
43 44
44#define INPUT_DEVICES 256 45#define INPUT_DEVICES 256
45 46
@@ -724,7 +725,7 @@ static void input_dev_release(struct class_device *class_dev)
724 module_put(THIS_MODULE); 725 module_put(THIS_MODULE);
725} 726}
726 727
727static struct class input_dev_class = { 728struct class input_dev_class = {
728 .name = "input_dev", 729 .name = "input_dev",
729 .release = input_dev_release, 730 .release = input_dev_release,
730 .class_dev_attrs = input_dev_attrs, 731 .class_dev_attrs = input_dev_attrs,