]> git.karo-electronics.de Git - linux-beck.git/commit
staging: comedi: amplc_dio200: remove 'mainsize' from ISA boardinfo
authorH Hartley Sweeten <hsweeten@visionengravers.com>
Fri, 1 Aug 2014 20:07:01 +0000 (13:07 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sat, 16 Aug 2014 19:23:10 +0000 (12:23 -0700)
commitcf200de92ffd97ee46f6affeb8240448319af8ae
treea52055444d0478fc43f590068102048c2ebeee93
parent7560e527534570199382ac72278301e9ac82920e
staging: comedi: amplc_dio200: remove 'mainsize' from ISA boardinfo

All the ISA DIO200 boards have an i/o region size of 0x20 (DIO200_IO_SIZE).
Remove the boardinfo and open code the size in the comedi_request_region()
call.

Signed-off-by: H Hartley Sweeten <hsweeten@visionengravers.com>
Reviewed-by: Ian Abbott <abbotti@mev.co.uk>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/comedi/drivers/amplc_dio200.c