staging: gpib: cb7210: select NEC7210 library
authorArnd Bergmann <arnd@arndb.de>
Wed, 16 Oct 2024 11:15:21 +0000 (11:15 +0000)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sat, 19 Oct 2024 07:57:04 +0000 (09:57 +0200)
The nec7210 library module is required to build cb7210:

ERROR: modpost: "nec7210_write" [drivers/staging/gpib/cb7210/cb7210.ko] undefined!
ERROR: modpost: "nec7210_read" [drivers/staging/gpib/cb7210/cb7210.ko] undefined!
ERROR: modpost: "nec7210_command" [drivers/staging/gpib/cb7210/cb7210.ko] undefined!
ERROR: modpost: "nec7210_take_control" [drivers/staging/gpib/cb7210/cb7210.ko] undefined!

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

index e7a480f48a34063a8d1d1b0653c663160abf597b..999e7adacd82df3f526e2ab5605ab92e27fc4d85 100644 (file)
@@ -96,6 +96,7 @@ config GPIB_CB7210
        depends on HAS_IOPORT
        depends on ISA_BUS || PCI || PCMCIA
        select GPIB_COMMON
+       select GPIB_NEC7210
        help
        Enable support for Measurement Computing (Computer Boards):
        CPCI_GPIB, ISA-GPIB, ISA-GPIB/LC, PCI-GPIB/1M, PCI-GPIB/300K and