drm/tegra: Add CONFIG_OF dependency
authorArnd Bergmann <arnd@arndb.de>
Fri, 21 Jul 2017 16:13:23 +0000 (18:13 +0200)
committerThierry Reding <treding@nvidia.com>
Thu, 17 Aug 2017 15:57:08 +0000 (17:57 +0200)
Without CONFIG_OF, we can run into a build error:

drivers/gpu/drm/tegra/dpaux.c:378:20: error: 'pinconf_generic_dt_node_to_map_group' undeclared here (not in a function); did you mean 'pinconf_generic_params'?
  .dt_node_to_map = pinconf_generic_dt_node_to_map_group,
                    ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
                    pinconf_generic_params
drivers/gpu/drm/tegra/dpaux.c:379:17: error: 'pinconf_generic_dt_free_map' undeclared here (not in a function); did you mean 'pinconf_generic_params'?

This adds an explicit dependency.

Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Acked-by: Jon Hunter <jonathanh@nvidia.com>
Signed-off-by: Thierry Reding <treding@nvidia.com>
drivers/gpu/drm/tegra/Kconfig

index 2db29d67193dbc1627c253ddbb8ba07f8c29de0b..dc58ab140151f24bcde9baed20602428f6b37d83 100644 (file)
@@ -3,6 +3,7 @@ config DRM_TEGRA
        depends on ARCH_TEGRA || (ARM && COMPILE_TEST)
        depends on COMMON_CLK
        depends on DRM
+       depends on OF
        select DRM_KMS_HELPER
        select DRM_MIPI_DSI
        select DRM_PANEL