Skip to contentSkip to conversation

drm/v3d: fix Kconfig ARCH_BCMSTB typo preventing compile

PATCH New Daniel Rodriguez 1 participant 1 message Mar 15, 2020

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

PATCH 1/1 drm/v3d: fix Kconfig ARCH_BCMSTB typo preventing compile

The Kconfig for v3d includes a depend on ARCH_BRCMSTB. It is misspelled; as ARCH_BCMSTB. This misspelling makes CONFIG_DRM_V3D not show up at all on Linux menuconfig and breaks manual kernel compilation with it manually set in .config (during compile CONFIG_DRM_V3D is transparently removed as the non-existent depend is not satisfied)

Thus, v3d will (transparently) never compile into a kernel, even if forcibly enabled in .config.

This patch corrects the typo, thus fixing menuconfig and kernel compilation with v3d.

---
 drivers/gpu/drm/v3d/Kconfig | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/gpu/drm/v3d/Kconfig +1 -1
index 9a5c44606337..e973ec487484 100644
@@ -1,7 +1,7 @@
 # SPDX-License-Identifier: GPL-2.0-only
 config DRM_V3D
 	tristate "Broadcom V3D 3.x and newer"
-	depends on ARCH_BCM || ARCH_BCMSTB || COMPILE_TEST
+	depends on ARCH_BCM || ARCH_BRCMSTB || COMPILE_TEST
 	depends on DRM
 	depends on COMMON_CLK
 	depends on MMU
Signature · 6 lines
2.25.1

_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel