projects
/
comedi.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e7ea000
)
Remove buf_change, add buf_alloc in subdevice structure
author
David Schleef
<ds@schleef.org>
Mon, 4 Feb 2002 00:25:22 +0000
(
00:25
+0000)
committer
David Schleef
<ds@schleef.org>
Mon, 4 Feb 2002 00:25:22 +0000
(
00:25
+0000)
include/linux/comedidev.h
patch
|
blob
|
history
diff --git
a/include/linux/comedidev.h
b/include/linux/comedidev.h
index 4f8086c3021fee792446266f0f08c46cc85ec561..2e6dd2be0b01df7f65b460cba5ce05366f25eb8c 100644
(file)
--- a/
include/linux/comedidev.h
+++ b/
include/linux/comedidev.h
@@
-115,7
+115,8
@@
struct comedi_subdevice_struct{
//int (*do_lock)(comedi_device *,comedi_subdevice *);
//int (*do_unlock)(comedi_device *,comedi_subdevice *);
- int (*buf_change)(comedi_device *,comedi_subdevice *s);
+ /* buffer allocation overload function */
+ int (*buf_alloc)(comedi_device *,comedi_subdevice *s,unsigned long new_size);
unsigned int state;
};