diff options
author | Laurent Pinchart <laurent.pinchart+renesas@ideasonboard.com> | 2021-07-31 19:24:02 +0300 |
---|---|---|
committer | Laurent Pinchart <laurent.pinchart+renesas@ideasonboard.com> | 2021-10-07 05:42:16 +0300 |
commit | 8b8a7d80af48fa0d757041790888718b4d69fa76 (patch) | |
tree | 6d74dbd80f51361da2dadd51b038abc101952f9d /drivers/gpu/drm/omapdrm | |
parent | 95f22783c6b0a0f6722a289d7e9f3da5c9001ee4 (diff) | |
download | linux-8b8a7d80af48fa0d757041790888718b4d69fa76.tar.xz |
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 <laurent.pinchart+renesas@ideasonboard.com>
Reviewed-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Diffstat (limited to 'drivers/gpu/drm/omapdrm')
-rw-r--r-- | drivers/gpu/drm/omapdrm/Kconfig | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpu/drm/omapdrm/Kconfig b/drivers/gpu/drm/omapdrm/Kconfig index d6e4df291d6f..455e1a91f0e5 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 |