Skip to contentSkip to conversation

staging: gpib: refer to correct config symbol in tnt4882 Makefile

PATCH In review Lukas Bulwahn 2 participants 2 messages Jan 7, 2025 – Jan 8, 2025

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 staging: gpib: refer to correct config symbol in tnt4882 Makefile

From: Lukas Bulwahn <[email protected]>

Commit 79d2e1919a27 ("staging: gpib: fix Makefiles") uses the corresponding config symbols to let Makefiles include the driver sources appropriately in the kernel build.

Unfortunately, the Makefile in the tnt4882 directory refers to the non-existing config GPIB_TNT4882. The actual config name for this driver is GPIB_NI_PCI_ISA, as can be observed in the gpib Makefile.

Probably, this is caused by the subtle differences between the config names, directory names and file names in ./drivers/staging/gpib/, where often config names and directory names are identical or at least close in naming, but in this case, it is not.

Change the reference in the tnt4882 Makefile from the non-existing config GPIB_TNT4882 to the existing config GPIB_NI_PCI_ISA.

Fixes 79d2e1919a27 ("staging: gpib: fix Makefiles")
---
 drivers/staging/gpib/tnt4882/Makefile | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/staging/gpib/tnt4882/Makefile +1 -1
index 04a4520ed3b7..a3c3fb96d5ed 100644
@@ -1,5 +1,5 @@
 ccflags-$(CONFIG_GPIB_PCMCIA) := -DGPIB_PCMCIA
-obj-$(CONFIG_GPIB_TNT4882) += tnt4882.o
+obj-$(CONFIG_GPIB_NI_PCI_ISA) += tnt4882.o
 
 tnt4882-objs := tnt4882_gpib.o mite.o
 
Signature · 1 line
2.47.1
Acked-by on v1 1/1
#1 lore raw
Quoted 15 lines · Lukas Bulwahn

From: Lukas Bulwahn <[email protected]>

Commit 79d2e1919a27 ("staging: gpib: fix Makefiles") uses the corresponding config symbols to let Makefiles include the driver sources appropriately in the kernel build.

Unfortunately, the Makefile in the tnt4882 directory refers to the non-existing config GPIB_TNT4882. The actual config name for this driver is GPIB_NI_PCI_ISA, as can be observed in the gpib Makefile.

Probably, this is caused by the subtle differences between the config names, directory names and file names in ./drivers/staging/gpib/, where often config names and directory names are identical or at least close in naming, but in this case, it is not.

Quoted 5 lines

Change the reference in the tnt4882 Makefile from the non-existing config GPIB_TNT4882 to the existing config GPIB_NI_PCI_ISA.

Fixes 79d2e1919a27 ("staging: gpib: fix Makefiles")