From: H Hartley Sweeten Date: Tue, 29 Jul 2014 22:01:45 +0000 (-0700) Subject: staging: comedi: amplc_dio200: use the comedi_device 'mmio' member X-Git-Tag: omap-for-v3.17/fixes-against-rc2~166^2~97 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=0c3dfdc2d9a913c227a71f8cf728a70316c3abb4;p=pandora-kernel.git 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 Reviewed-by: Ian Abbott Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed