From: Ian Abbott Date: Wed, 24 Oct 2012 15:47:55 +0000 (+0100) Subject: staging: comedi: amplc_dio200: use register offsets in subdevices X-Git-Tag: omap-for-v3.8/fixes-for-merge-window-v4-signed~84^2~1024 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=cda84375f337332421101e7a94f72d0512f8d742;p=pandora-kernel.git staging: comedi: amplc_dio200: use register offsets in subdevices Replace the absolute, modified I/O base addresses in the private data structures for the '8254' counter and 'intr' DIO subdevices with offsets from the main I/O base address. `dio200_subdev_intr_init()` now needs the offset instead of the absolute address. `dio200_subdev_8254_init()` now only needs the offset instead of both the absolute address and the offset. The '8255' DIO subdevices are unaffected as they are handled by the external "8255" module. This change is not useful by itself but is an intermediate step for later changes. Signed-off-by: Ian Abbott Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed