mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2025-01-10 15:10:38 +00:00
[PATCH] INPUT: export input_dev_class so that input drivers can use it.
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
This commit is contained in:
parent
102040204f
commit
23d5090161
@ -40,6 +40,7 @@ EXPORT_SYMBOL(input_accept_process);
|
|||||||
EXPORT_SYMBOL(input_flush_device);
|
EXPORT_SYMBOL(input_flush_device);
|
||||||
EXPORT_SYMBOL(input_event);
|
EXPORT_SYMBOL(input_event);
|
||||||
EXPORT_SYMBOL(input_class);
|
EXPORT_SYMBOL(input_class);
|
||||||
|
EXPORT_SYMBOL_GPL(input_dev_class);
|
||||||
|
|
||||||
#define INPUT_DEVICES 256
|
#define INPUT_DEVICES 256
|
||||||
|
|
||||||
@ -724,7 +725,7 @@ static void input_dev_release(struct class_device *class_dev)
|
|||||||
module_put(THIS_MODULE);
|
module_put(THIS_MODULE);
|
||||||
}
|
}
|
||||||
|
|
||||||
static struct class input_dev_class = {
|
struct class input_dev_class = {
|
||||||
.name = "input_dev",
|
.name = "input_dev",
|
||||||
.release = input_dev_release,
|
.release = input_dev_release,
|
||||||
.class_dev_attrs = input_dev_attrs,
|
.class_dev_attrs = input_dev_attrs,
|
||||||
|
@ -1075,6 +1075,7 @@ static inline void input_set_abs_params(struct input_dev *dev, int axis, int min
|
|||||||
}
|
}
|
||||||
|
|
||||||
extern struct class *input_class;
|
extern struct class *input_class;
|
||||||
|
extern struct class input_dev_class;
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
#endif
|
#endif
|
||||||
|
Loading…
x
Reference in New Issue
Block a user