From: Andy Shevchenko Date: Tue, 22 Aug 2023 14:25:14 +0000 (+0300) Subject: platform/x86: p2sb: Make the Kconfig symbol hidden X-Git-Tag: v6.6-rc1~104^2~6 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=b9e6cbf90fa26f93444806d18a3f629b0464d771;p=thirdparty%2Fkernel%2Flinux.git platform/x86: p2sb: Make the Kconfig symbol hidden The P2SB is used purely as a library and all users must select it with depends on PCI select P2SB if X86 statement. Without this the combination of different configuration options may lead to build failures. Suggested-by: Hans de Goede Signed-off-by: Andy Shevchenko Link: https://lore.kernel.org/r/20230822142514.2140897-1-andriy.shevchenko@linux.intel.com Signed-off-by: Hans de Goede --- diff --git a/drivers/platform/x86/Kconfig b/drivers/platform/x86/Kconfig index b94e23e84af08..a43db6731f348 100644 --- a/drivers/platform/x86/Kconfig +++ b/drivers/platform/x86/Kconfig @@ -1103,7 +1103,7 @@ config SEL3350_PLATFORM endif # X86_PLATFORM_DEVICES config P2SB - bool "Primary to Sideband (P2SB) bridge access support" + bool depends on PCI && X86 help The Primary to Sideband (P2SB) bridge is an interface to some