From e3222c3a3b7429efe114f820231fc396c6b8a4ce Mon Sep 17 00:00:00 2001 From: David Schleef Date: Mon, 4 Feb 2002 00:25:22 +0000 Subject: [PATCH] Remove buf_change, add buf_alloc in subdevice structure --- include/linux/comedidev.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/include/linux/comedidev.h b/include/linux/comedidev.h index 4f8086c3..2e6dd2be 100644 --- 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; }; -- 2.26.2