projects
/
comedi.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d19a23e
)
fix return value of request_mem_region compatibility macro so it returns
author
Frank Mori Hess
<fmhess@speakeasy.net>
Mon, 4 Jul 2005 18:17:36 +0000
(18:17 +0000)
committer
Frank Mori Hess
<fmhess@speakeasy.net>
Mon, 4 Jul 2005 18:17:36 +0000
(18:17 +0000)
a non-null value (null indicates error).
include/linux/ioport.h
patch
|
blob
|
history
diff --git
a/include/linux/ioport.h
b/include/linux/ioport.h
index 1755fe3ad87fc86162294dec7f3a13a98356edf3..28af4048deda8085d7cee78531a0ba1b26e0597b 100644
(file)
--- a/
include/linux/ioport.h
+++ b/
include/linux/ioport.h
@@
-7,8
+7,7
@@
#if LINUX_VERSION_CODE < KERNEL_VERSION(2,2,20)
-#define check_mem_region(start,n) 0
-#define request_mem_region(start,n,name) ((void*) 0)
+#define request_mem_region(start,n,name) ((void*) 1)
#define release_mem_region(start,n)
#endif