Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
L
linux
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
linux
Commits
4517366d
Commit
4517366d
authored
Feb 25, 2011
by
GuanXuetao
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
unicore32 i8042 upgrade and bugfix: adjust resource request region type
Signed-off-by:
Guan Xuetao
<
gxt@mprc.pku.edu.cn
>
parent
4ef2ec63
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
drivers/input/serio/i8042-unicore32io.h
drivers/input/serio/i8042-unicore32io.h
+2
-2
No files found.
drivers/input/serio/i8042-unicore32io.h
View file @
4517366d
...
@@ -58,7 +58,7 @@ static inline void i8042_write_command(int val)
...
@@ -58,7 +58,7 @@ static inline void i8042_write_command(int val)
static
inline
int
i8042_platform_init
(
void
)
static
inline
int
i8042_platform_init
(
void
)
{
{
if
(
!
request_region
(
I8042_REGION_START
,
I8042_REGION_SIZE
,
"i8042"
))
if
(
!
request_
mem_
region
(
I8042_REGION_START
,
I8042_REGION_SIZE
,
"i8042"
))
return
-
EBUSY
;
return
-
EBUSY
;
i8042_reset
=
1
;
i8042_reset
=
1
;
...
@@ -67,7 +67,7 @@ static inline int i8042_platform_init(void)
...
@@ -67,7 +67,7 @@ static inline int i8042_platform_init(void)
static
inline
void
i8042_platform_exit
(
void
)
static
inline
void
i8042_platform_exit
(
void
)
{
{
release_region
(
I8042_REGION_START
,
I8042_REGION_SIZE
);
release_
mem_
region
(
I8042_REGION_START
,
I8042_REGION_SIZE
);
}
}
#endif
/* _I8042_UNICORE32_H */
#endif
/* _I8042_UNICORE32_H */
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