[PATCH 08/15] staging: comedi: ni_labpc: tidy up daqboard2000_8255_cb()

Ian Abbott abbotti at mev.co.uk
Mon Aug 4 12:05:58 UTC 2014


On 2014-08-01 22:18, H Hartley Sweeten wrote:
> The 8255 driver (*io) callback now includes the comedi_device pointer.
> Using this we can get the ioremap'ed base address.
>
> Instead of passing the (cast) mmio address to subdev_8255_init(), pass
> the 'iobase' of the 8255 registers (dioP2ExpansionIO8Bit).
>
> Signed-off-by: H Hartley Sweeten <hsweeten at visionengravers.com>
> Cc: Ian Abbott <abbotti at mev.co.uk>
> Cc: Greg Kroah-Hartman <gregkh at linuxfoundation.org>
> ---
>   drivers/staging/comedi/drivers/daqboard2000.c | 10 ++++------
>   1 file changed, 4 insertions(+), 6 deletions(-)

The title of this patch is wrong.

-- 
-=( Ian Abbott @ MEV Ltd.    E-mail: <abbotti at mev.co.uk>        )=-
-=( Tel: +44 (0)161 477 1898   FAX: +44 (0)161 718 3587         )=-


More information about the devel mailing list