projects
/
comedi.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
15ed91f
)
Fix to previous checkin
author
David Schleef
<ds@schleef.org>
Thu, 21 Nov 2002 08:27:17 +0000
(08:27 +0000)
committer
David Schleef
<ds@schleef.org>
Thu, 21 Nov 2002 08:27:17 +0000
(08:27 +0000)
include/linux/comedidev.h
patch
|
blob
|
history
diff --git
a/include/linux/comedidev.h
b/include/linux/comedidev.h
index c664e358e89182d1e70692d10358e30529511bd2..0d3ca599fb820a5ea2baaf06eba05c89e39c4e51 100644
(file)
--- a/
include/linux/comedidev.h
+++ b/
include/linux/comedidev.h
@@
-377,6
+377,11
@@
static inline unsigned long kvirt_to_pa(unsigned long adr)
ret = __pa(kva);
return ret;
}
+#else
+static inline unsigned long kvirt_to_pa(unsigned long adr)
+{
+ return 0;
+}
#endif
int comedi_buf_put(comedi_async *async, sampl_t x);