OSDN Git Service

staging: comedi: ni_670x: remove COMEDI_MITE and HAS_DMA dependancy
authorH Hartley Sweeten <hsweeten@visionengravers.com>
Mon, 14 Jul 2014 18:54:29 +0000 (11:54 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 16 Jul 2014 20:21:38 +0000 (13:21 -0700)
commit39798450a449dadb35f38a0843f1e3a886e66e7f
treea72aff7653ad429fa083691427428198441bdbe3
parentb965b77f7c19e587fab99c8efc7ee623e13158a0
staging: comedi: ni_670x: remove COMEDI_MITE and HAS_DMA dependancy

The mite module provides the DMA interface for the PCI MITE ASIC used on
many National Instruments DAQ boards. This driver does not use DMA and only
depends on the mite module to initialize the MITE ASIC.

Handle the initialization localy and remove the unnecessary dependancies.

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/Kconfig
drivers/staging/comedi/drivers/ni_670x.c