[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <DC148C5AA1CEBA4E87973D432B1C2D8825FA1B65@P3PWEX4MB008.ex4.secureserver.net>
Date: Mon, 15 Sep 2014 18:12:55 +0000
From: Hartley Sweeten <HartleyS@...ionengravers.com>
To: Ian Abbott <abbotti@....co.uk>,
"driverdev-devel@...uxdriverproject.org"
<driverdev-devel@...uxdriverproject.org>
CC: Greg Kroah-Hartman <gregkh@...uxfoundation.org>,
"linux-kernel@...r.kernel.org" <linux-kernel@...r.kernel.org>
Subject: RE: [PATCH 01/11] staging: comedi: add comedi_bytes_per_scan()
On Monday, September 15, 2014 5:46 AM, Ian Abbott wrote:
> The "comedi_fc" module contains a few functions useful to Comedi
> drivers. Their functionality is being migrated to the core "comedi"
> module and renamed to start with the prefix `comedi_`. As part of this
> migration, move `cfc_bytes_per_scan()` into the core comedi module and
> rename it to `comedi_bytes_per_scan()`. Change the external declaration
> of `cfc_bytes_per_scan()` into an inline function that calls
> `comedi_bytes_per_scan()`.
>
> Signed-off-by: Ian Abbott <abbotti@....co.uk>
> ---
> drivers/staging/comedi/comedidev.h | 1 +
> drivers/staging/comedi/drivers.c | 37 ++++++++++++++++++++++++++++++
> drivers/staging/comedi/drivers/comedi_fc.c | 22 ------------------
> drivers/staging/comedi/drivers/comedi_fc.h | 6 ++++-
> 4 files changed, 43 insertions(+), 23 deletions(-)
Ian,
I think this function should be moved to comedi_buf.c instead.
It's only used by the drivers as part of the async command support.
Regards,
Hartley
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists