From: Laurent Pinchart Date: Sat, 31 Jul 2021 16:24:02 +0000 (+0300) Subject: drm/omap: Depend on CONFIG_OF X-Git-Url: http://git.maquefel.me/?a=commitdiff_plain;h=8b8a7d80af48fa0d757041790888718b4d69fa76;p=linux.git drm/omap: Depend on CONFIG_OF The driver accesses the drm_bridge.of_node field, which is present only if CONFIG_OF is enabled. As all platforms using omapdrm are OF-based, we can simply depend on CONFIG_OF. Signed-off-by: Laurent Pinchart Reviewed-by: Daniel Vetter --- diff --git a/drivers/gpu/drm/omapdrm/Kconfig b/drivers/gpu/drm/omapdrm/Kconfig index d6e4df291d6f6..455e1a91f0e51 100644 --- a/drivers/gpu/drm/omapdrm/Kconfig +++ b/drivers/gpu/drm/omapdrm/Kconfig @@ -1,7 +1,7 @@ # SPDX-License-Identifier: GPL-2.0-only config DRM_OMAP tristate "OMAP DRM" - depends on DRM + depends on DRM && OF depends on ARCH_OMAP2PLUS || ARCH_MULTIPLATFORM select DRM_KMS_HELPER select VIDEOMODE_HELPERS