[PATCH V2 09/10] gpib: Add gpib build menu and rule to drivers

From: Dave Penkler
Date: Tue Nov 11 2025 - 04:47:19 EST


To complete destaging the gpib drivers add the gpib Kconfig menu and
Makefile build rule. The gpib Kconfig menu has been added just after
the related comedi drivers.

Add sourcing of the gpib Kconfig menu to the main drivers Kconfig file.
Add the gpib build rule to the main drivers Makefile.

Signed-off-by: Dave Penkler <dpenkler@xxxxxxxxx>
---
drivers/Kconfig | 2 ++
drivers/Makefile | 1 +
2 files changed, 3 insertions(+)

diff --git a/drivers/Kconfig b/drivers/Kconfig
index 4915a63866b0..01602581b880 100644
--- a/drivers/Kconfig
+++ b/drivers/Kconfig
@@ -161,6 +161,8 @@ source "drivers/greybus/Kconfig"

source "drivers/comedi/Kconfig"

+source "drivers/gpib/Kconfig"
+
source "drivers/staging/Kconfig"

source "drivers/platform/Kconfig"
diff --git a/drivers/Makefile b/drivers/Makefile
index 8e1ffa4358d5..d275b1526cdd 100644
--- a/drivers/Makefile
+++ b/drivers/Makefile
@@ -150,6 +150,7 @@ obj-$(CONFIG_VHOST_IOTLB) += vhost/
obj-$(CONFIG_VHOST) += vhost/
obj-$(CONFIG_GREYBUS) += greybus/
obj-$(CONFIG_COMEDI) += comedi/
+obj-$(CONFIG_GPIB) += gpib/
obj-$(CONFIG_STAGING) += staging/
obj-y += platform/

--
2.51.2