commit | 0c3dfdc2d9a913c227a71f8cf728a70316c3abb4 | [log] [tgz] |
---|---|---|
author | H Hartley Sweeten <hsweeten@visionengravers.com> | Tue Jul 29 15:01:45 2014 -0700 |
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | Wed Jul 30 16:55:16 2014 -0700 |
tree | 4db322561a9d3af6205f1c0ba25d2a081c04f67c | |
parent | d6e497b92f4296db79577a05d399ba20a58b719b [diff] |
staging: comedi: amplc_dio200: use the comedi_device 'mmio' member The amplc_dio200_common module currently uses a union in the private data to determine if the hardware uses port or memory mapped I/O. Use the new 'mmio' member in the comedi_device for the ioremap'ed base address and remove all the union code. 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>