Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

staging: gpib: Fix PCMCIA config identifier

The PCMCIA config identifier in the ines_exit_module function
was never changed because it was misspelled in the original commit.

Update the config parameter to use the correct identifier from
gpib/Kconfig

Fixes: bb1bd92fa0f2 ("staging: gpib: Add ines GPIB driver")
Signed-off-by: Dave Penkler <dpenkler@gmail.com>
Link: https://lore.kernel.org/r/20250502072150.32714-2-dpenkler@gmail.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>

authored by

Dave Penkler and committed by
Greg Kroah-Hartman
034a4568 3349e275

+1 -1
+1 -1
drivers/staging/gpib/ines/ines_gpib.c
··· 1487 1487 gpib_unregister_driver(&ines_pci_unaccel_interface); 1488 1488 gpib_unregister_driver(&ines_pci_accel_interface); 1489 1489 gpib_unregister_driver(&ines_isa_interface); 1490 - #ifdef GPIB__PCMCIA 1490 + #ifdef CONFIG_GPIB_PCMCIA 1491 1491 gpib_unregister_driver(&ines_pcmcia_interface); 1492 1492 gpib_unregister_driver(&ines_pcmcia_unaccel_interface); 1493 1493 gpib_unregister_driver(&ines_pcmcia_accel_interface);