staging: comedi: contec_pci_dio: define register map for board
authorH Hartley Sweeten <hartleys@visionengravers.com>
Thu, 16 Aug 2012 00:31:39 +0000 (17:31 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 16 Aug 2012 18:30:40 +0000 (11:30 -0700)
commit86d466b86e0c04b2f0f6ae41f0de75082865912d
tree44eaf8730b42f104408edac21d1e5dc344499a54
parent8bba4439fb784d9f1aa74c1e13a42cd21f989ffc
staging: comedi: contec_pci_dio: define register map for board

Only one board type is supported by this driver. Instead of
passing the register offsets for the digital in/out ports in
the boardinfo, define the register map and use that to access
the ports.

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