]> www.infradead.org Git - users/jedix/linux-maple.git/commit
staging: gpib: refer to correct config symbol in tnt4882 Makefile
authorLukas Bulwahn <lukas.bulwahn@redhat.com>
Tue, 7 Jan 2025 13:50:32 +0000 (14:50 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 7 Jan 2025 14:37:54 +0000 (15:37 +0100)
commit84b172cea4a23016dc80a44eaa7ff8b7c97b04b3
treed4ec6f0c35d2f4fc41fdf32c258717d6aafd8c73
parent669bf56cb2a197bca968ed6079226ee340606671
staging: gpib: refer to correct config symbol in tnt4882 Makefile

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")
Signed-off-by: Lukas Bulwahn <lukas.bulwahn@redhat.com>
Link: https://lore.kernel.org/r/20250107135032.34424-1-lukas.bulwahn@redhat.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/gpib/tnt4882/Makefile