OSDN Git Service
(root)
/
tomoyo
/
tomoyo-test1.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4ef2ec6
)
unicore32 i8042 upgrade and bugfix: adjust resource request region type
author
GuanXuetao
<gxt@mprc.pku.edu.cn>
Fri, 25 Feb 2011 09:58:00 +0000
(17:58 +0800)
committer
GuanXuetao
<gxt@mprc.pku.edu.cn>
Thu, 17 Mar 2011 01:19:19 +0000
(09:19 +0800)
Signed-off-by: Guan Xuetao <gxt@mprc.pku.edu.cn>
drivers/input/serio/i8042-unicore32io.h
patch
|
blob
|
history
diff --git
a/drivers/input/serio/i8042-unicore32io.h
b/drivers/input/serio/i8042-unicore32io.h
index
2cdd872
..
620b040
100644
(file)
--- a/
drivers/input/serio/i8042-unicore32io.h
+++ b/
drivers/input/serio/i8042-unicore32io.h
@@
-58,7
+58,7
@@
static inline void i8042_write_command(int val)
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;
i8042_reset = 1;
@@
-67,7
+67,7
@@
static inline int i8042_platform_init(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 */