From: David Schleef Date: Mon, 4 Feb 2002 00:25:22 +0000 (+0000) Subject: Remove buf_change, add buf_alloc in subdevice structure X-Git-Tag: r0_7_64~158 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=e3222c3a3b7429efe114f820231fc396c6b8a4ce;p=comedi.git Remove buf_change, add buf_alloc in subdevice structure --- 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; };