gpu: host1x: Increase compile test coverage
authorThierry Reding <treding@nvidia.com>
Wed, 20 Nov 2013 19:58:36 +0000 (20:58 +0100)
committerThierry Reding <treding@nvidia.com>
Thu, 19 Dec 2013 08:29:51 +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/host1x/Kconfig

index 7d6bed2..b2fd029 100644 (file)
@@ -1,6 +1,6 @@
 config TEGRA_HOST1X
        tristate "NVIDIA Tegra host1x driver"
-       depends on ARCH_TEGRA || ARCH_MULTIPLATFORM
+       depends on ARCH_TEGRA || (ARM && COMPILE_TEST)
        help
          Driver for the NVIDIA Tegra host1x hardware.