]> git.baikalelectronics.ru Git - kernel.git/commit
drm/hisilicon/hibmc: Allow to be built if COMPILE_TEST is enabled
authorJavier Martinez Canillas <javierm@redhat.com>
Thu, 16 Dec 2021 21:09:36 +0000 (22:09 +0100)
committerJavier Martinez Canillas <javierm@redhat.com>
Thu, 27 Jan 2022 12:38:04 +0000 (13:38 +0100)
commit3702169d2a0f879372e58818bb745b80a73ec173
tree2b0a4545028a45cdfaf4fc3228080aaa40934179
parent7c682045013c3d58dcb6fb0b05aa989e6a1e09a7
drm/hisilicon/hibmc: Allow to be built if COMPILE_TEST is enabled

The commit 081cb862ed86 ("drm/hisilicon/hibmc: Make CONFIG_DRM_HISI_HIBMC
depend on ARM64") made the driver Kconfig symbol to depend on ARM64 since
it only supports that architecture and loading the module on others would
lead to incorrect video modes being used.

But it also prevented the driver to be built on other architectures which
is useful to have compile test coverage when doing subsystem wide changes.

Make the dependency instead to be (ARM64 || COMPILE_TEST), so the driver
is buildable when the CONFIG_COMPILE_TEST option is enabled.

Signed-off-by: Javier Martinez Canillas <javierm@redhat.com>
Acked-by: Thomas Zimmermann <tzimmermann@suse.de>
Link: https://patchwork.freedesktop.org/patch/msgid/20211216210936.3329977-1-javierm@redhat.com
drivers/gpu/drm/hisilicon/hibmc/Kconfig