drm/tegra: Increase compile test coverage
authorThierry Reding <treding@nvidia.com>
Wed, 20 Nov 2013 19:39:35 +0000 (20:39 +0100)
committerThierry Reding <treding@nvidia.com>
Thu, 19 Dec 2013 08:29:53 +0000 (09:29 +0100)
The ARCH_MULTIPLATFORM dependency was introduced back when Tegra didn't
support multiplatform yet as a means to allow the driver to be easily
compile-tested along with other DRM drivers. In the meantime, the new
COMPILE_TEST Kconfig option has been introduced for exactly that
purpose, so use that instead to clarify the intention.

Signed-off-by: Thierry Reding <treding@nvidia.com>
drivers/gpu/drm/tegra/Kconfig

index 0810585..7a3e8ae 100644 (file)
@@ -1,6 +1,6 @@
 config DRM_TEGRA
        tristate "NVIDIA Tegra DRM"
-       depends on ARCH_TEGRA || ARCH_MULTIPLATFORM
+       depends on ARCH_TEGRA || (ARM && COMPILE_TEST)
        depends on DRM
        depends on RESET_CONTROLLER
        select TEGRA_HOST1X