Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
L
linux-davinci
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Redmine
Redmine
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Metrics
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
linux
linux-davinci
Commits
23d50901
Commit
23d50901
authored
Oct 27, 2005
by
Greg Kroah-Hartman
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[PATCH] INPUT: export input_dev_class so that input drivers can use it.
Signed-off-by:
Greg Kroah-Hartman
<
gregkh@suse.de
>
parent
10204020
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
1 deletion
+3
-1
drivers/input/input.c
drivers/input/input.c
+2
-1
include/linux/input.h
include/linux/input.h
+1
-0
No files found.
drivers/input/input.c
View file @
23d50901
...
@@ -40,6 +40,7 @@ EXPORT_SYMBOL(input_accept_process);
...
@@ -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)
...
@@ -724,7 +725,7 @@ static void input_dev_release(struct class_device *class_dev)
module_put
(
THIS_MODULE
);
module_put
(
THIS_MODULE
);
}
}
st
atic
st
ruct
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
,
...
...
include/linux/input.h
View file @
23d50901
...
@@ -1075,6 +1075,7 @@ static inline void input_set_abs_params(struct input_dev *dev, int axis, int min
...
@@ -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
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment