diff options
author | Greg Kroah-Hartman <gregkh@suse.de> | 2005-10-28 07:25:43 +0200 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2005-10-28 18:52:54 +0200 |
commit | 23d50901617c2a8bdef509279a42d2e90f523db9 (patch) | |
tree | 9e8602bb82cbd2d56738fb93d34594d02e8d0476 /drivers/input/input.c | |
parent | [PATCH] INPUT: register the input class device sooner (diff) | |
download | linux-23d50901617c2a8bdef509279a42d2e90f523db9.tar.xz linux-23d50901617c2a8bdef509279a42d2e90f523db9.zip |
[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/input/input.c')
-rw-r--r-- | drivers/input/input.c | 3 |
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); EXPORT_SYMBOL(input_flush_device); EXPORT_SYMBOL(input_event); EXPORT_SYMBOL(input_class); +EXPORT_SYMBOL_GPL(input_dev_class); #define INPUT_DEVICES 256 @@ -724,7 +725,7 @@ static void input_dev_release(struct class_device *class_dev) module_put(THIS_MODULE); } -static struct class input_dev_class = { +struct class input_dev_class = { .name = "input_dev", .release = input_dev_release, .class_dev_attrs = input_dev_attrs, |