summaryrefslogtreecommitdiff
path: root/drivers/misc/mei/gsc_proxy
diff options
context:
space:
mode:
authorArnd Bergmann <arnd@arndb.de>2023-12-14 18:39:32 +0000
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2023-12-15 17:02:15 +0100
commitd667378ade2367fc0423ebcfd79d3a0e813ebd5c (patch)
treea0054fa01ab101d56ae9ca43df271bd431aea4a6 /drivers/misc/mei/gsc_proxy
parent95171e45663307fc33a939f0220b39afadfe7cb9 (diff)
mei: rework Kconfig dependencies
The dependencies in the mei framework are inconsistent, with some symbols using 'select INTEL_MEI' to force it being enabled and others using 'depends on INTEL_MEI'. In general, one should not select user-visible symbols, so change all of these to normal dependencies, but change the default on INTEL_MEI to be enabled when building a kernel for an Intel CPU with ME or a generic x86 kernel. Having consistent dependencies makes the 'menuconfig' listing more readable by using proper indentation. A large if/endif block is just a simpler syntax than repeating the dependencies for each symbol. Signed-off-by: Arnd Bergmann <arnd@arndb.de> Reviewed-by: Wentong Wu <wentong.wu@intel.com> Link: https://lore.kernel.org/r/20231214183946.109124-2-arnd@kernel.org Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/misc/mei/gsc_proxy')
-rw-r--r--drivers/misc/mei/gsc_proxy/Kconfig2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/misc/mei/gsc_proxy/Kconfig b/drivers/misc/mei/gsc_proxy/Kconfig
index 5f68d9f3d691..ac78b9d1eccd 100644
--- a/drivers/misc/mei/gsc_proxy/Kconfig
+++ b/drivers/misc/mei/gsc_proxy/Kconfig
@@ -3,7 +3,7 @@
#
config INTEL_MEI_GSC_PROXY
tristate "Intel GSC Proxy services of ME Interface"
- select INTEL_MEI_ME
+ depends on INTEL_MEI_ME
depends on DRM_I915
help
MEI Support for GSC Proxy Services on Intel platforms.