projects
/
comedi.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1c3a6b8
)
Added comment describing purpose of comedi_set_hw_dev().
author
Frank Mori Hess
<fmhess@speakeasy.net>
Wed, 15 Aug 2007 21:20:57 +0000
(21:20 +0000)
committer
Frank Mori Hess
<fmhess@speakeasy.net>
Wed, 15 Aug 2007 21:20:57 +0000
(21:20 +0000)
include/linux/comedidev.h
patch
|
blob
|
history
diff --git
a/include/linux/comedidev.h
b/include/linux/comedidev.h
index 10cf384daaa0fccb4746b767aff11c52b3d78479..86d24dced38e286c0a79592562ed5daa943b2926 100644
(file)
--- a/
include/linux/comedidev.h
+++ b/
include/linux/comedidev.h
@@
-451,6
+451,8
@@
static inline unsigned int bytes_per_sample( const comedi_subdevice *subd )
return sizeof( sampl_t );
}
+/* must be used in attach to set dev->hw_dev if you wish to dma directly
+into comedi's buffer */
static inline void comedi_set_hw_dev(comedi_device *dev, struct device *hw_dev)
{
if(dev->hw_dev)