drm: DRM_KMB_DISPLAY should depend on ARCH_KEEMBAY
authorGeert Uytterhoeven <geert+renesas@glider.be>
Tue, 10 Nov 2020 14:43:50 +0000 (15:43 +0100)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Tue, 10 Nov 2020 16:15:53 +0000 (17:15 +0100)
commitade896460e4a62f5e4a892a98d254937f6f5b64c
treebb57ca5a06eac682d23b041a207b6b1680eb4a49
parentdc0636b837ae0496134cd3c8107f527ae6579f85
drm: DRM_KMB_DISPLAY should depend on ARCH_KEEMBAY

The Intel Keem Bay display controller is only present on Intel Keem Bay
SoCs.  Hence add a dependency on ARCH_KEEMBAY, to prevent asking the
user about this driver when configuring a kernel without Intel Keem Bay
platform support.

Note that:
  1. The dependency on ARM is dropped, as Keem Bay SoCs are only
     supported in arm64 kernel builds,
  2. The dependencies on OF and COMMON_CLK can be dropped for
     compile-testing, as the driver builds fine regardless.

Fixes: ed794057b052b52a ("drm/kmb: Build files for KeemBay Display driver")
Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Link: https://patchwork.freedesktop.org/patch/msgid/20201110144350.3279147-1-geert+renesas@glider.be
drivers/gpu/drm/kmb/Kconfig