diff options
-rw-r--r-- | drivers/input/input.c | 3 | ||||
-rw-r--r-- | include/linux/input.h | 1 |
2 files changed, 3 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); | |||
40 | EXPORT_SYMBOL(input_flush_device); | 40 | EXPORT_SYMBOL(input_flush_device); |
41 | EXPORT_SYMBOL(input_event); | 41 | EXPORT_SYMBOL(input_event); |
42 | EXPORT_SYMBOL(input_class); | 42 | EXPORT_SYMBOL(input_class); |
43 | EXPORT_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 | ||
727 | static struct class input_dev_class = { | 728 | struct 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, |
diff --git a/include/linux/input.h b/include/linux/input.h index 3defa29a17d3..5de844157fa9 100644 --- a/include/linux/input.h +++ b/include/linux/input.h | |||
@@ -1075,6 +1075,7 @@ static inline void input_set_abs_params(struct input_dev *dev, int axis, int min | |||
1075 | } | 1075 | } |
1076 | 1076 | ||
1077 | extern struct class *input_class; | 1077 | extern struct class *input_class; |
1078 | extern struct class input_dev_class; | ||
1078 | 1079 | ||
1079 | #endif | 1080 | #endif |
1080 | #endif | 1081 | #endif |