]> git.ipfire.org Git - thirdparty/linux.git/commitdiff
comedi: Correct dependencies for COMEDI_NI_PCIDIO
authorIan Abbott <abbotti@mev.co.uk>
Wed, 13 Sep 2023 17:07:00 +0000 (18:07 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 5 Oct 2023 11:34:04 +0000 (13:34 +0200)
The ni_pcidio module does not depend on the comedi_8255 module, so
change the `COMEDI_NI_PCIDIO` configuration option to not select
`COMEDI_8255` and remove the inherited dependency on `HAS_IOPORT`.

Cc: Arnd Bergmann <arnd@kernel.org>
Cc: Niklas Schnelle <schnelle@linux.ibm.com>
Signed-off-by: Ian Abbott <abbotti@mev.co.uk>
Link: https://lore.kernel.org/r/20230913170712.111719-2-abbotti@mev.co.uk
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/comedi/Kconfig

index 9af280735cbaa1db0d59dc154bcb3be7c1cc7df1..536101f68e0fe76d25c4a25647d7d7949603962d 100644 (file)
@@ -1042,7 +1042,6 @@ config COMEDI_NI_PCIDIO
        tristate "NI PCI-DIO32HS, PCI-6533, PCI-6534 support"
        depends on HAS_DMA
        select COMEDI_MITE
-       select COMEDI_8255
        help
          Enable support for National Instruments PCI-DIO-32HS, PXI-6533,
          PCI-6533 and PCI-6534