staging: gpib: add bus specific Kconfig dependencies
authorArnd Bergmann <arnd@arndb.de>
Wed, 16 Oct 2024 11:15:19 +0000 (11:15 +0000)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sat, 19 Oct 2024 07:57:03 +0000 (09:57 +0200)
commit2c9f5d8c6ece91ecd33350749230494d224550f1
tree815247f38fbea0cea18fe28412a5b80a1f36d931
parent78ecb0375685bc9276638a5e2b6ec3b10d2810bf
staging: gpib: add bus specific Kconfig dependencies

A number of GPIB drivers fail to build when CONFIG_HAS_IOPORT is disabled,
which can be avoided with a CONFIG_ISA_BUS or CONFIG_PCMCIA dependency.

For completeness, mark all of the new device drivers with a dependency
on whichever bus they use, and hide the symbols for chip drivers that
are already selected by teh device drivers using them.

Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Link: https://lore.kernel.org/r/20241016111521.1143191-6-arnd@kernel.org
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/gpib/Kconfig