[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <D20815A68EE4902F+20250310072357.52841-1-wangyuli@uniontech.com>
Date: Mon, 10 Mar 2025 15:23:57 +0800
From: WangYuli <wangyuli@...ontech.com>
To: liviu.dudau@....com,
maarten.lankhorst@...ux.intel.com,
mripard@...nel.org,
tzimmermann@...e.de,
airlied@...il.com,
simona@...ll.ch
Cc: dri-devel@...ts.freedesktop.org,
linux-kernel@...r.kernel.org,
zhanjun@...ontech.com,
niecheng1@...ontech.com,
guanwentao@...ontech.com,
chenlinxuan@...ontech.com,
WangYuli <wangyuli@...ontech.com>
Subject: [PATCH] drm/arm: Suppress "ARM devices" menu if not essential
Manifestly, the "ARM devices" menu is appropriate only for the ARM
architecture.
Inasmuch as every single item in this menu is predicated on
(ARM || ARM64 || COMPILE_TEST), it is therefore illogical for the
"ARM devices" menu itself not to be predicated upon
(ARM || ARM64 || COMPILE_TEST), and displaying a blank menu in other
architectures is unwarranted.
Signed-off-by: WangYuli <wangyuli@...ontech.com>
---
drivers/gpu/drm/arm/Kconfig | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/gpu/drm/arm/Kconfig b/drivers/gpu/drm/arm/Kconfig
index c901ac00c0c3..0aa6a54567b6 100644
--- a/drivers/gpu/drm/arm/Kconfig
+++ b/drivers/gpu/drm/arm/Kconfig
@@ -1,6 +1,6 @@
# SPDX-License-Identifier: GPL-2.0
menu "ARM devices"
- depends on DRM
+ depends on DRM && (ARM || ARM64 || COMPILE_TEST)
config DRM_HDLCD
tristate "ARM HDLCD"
--
2.47.2
Powered by blists - more mailing lists