]> git.karo-electronics.de Git - karo-tx-linux.git/commit
staging: comedi: ni_labpc_pci: remove COMEDI_MITE and HAS_DMA dependancy
authorH Hartley Sweeten <hsweeten@visionengravers.com>
Mon, 14 Jul 2014 18:54:27 +0000 (11:54 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 16 Jul 2014 20:21:38 +0000 (13:21 -0700)
commit319a883bfdfe163094ba32c8ab7815a109ba3bcc
tree8ca03400754bbf43a8e45c29f91eb92345874bd6
parente2f1036a9b22315d5134a1145b2743044d94b733
staging: comedi: ni_labpc_pci: 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_labpc.h
drivers/staging/comedi/drivers/ni_labpc_pci.c