[PATCH v1 1/1] platform/x86: p2sb: Make the Kconfig symbol hidden

From: Andy Shevchenko
Date: Tue Aug 22 2023 - 10:25:27 EST


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 <hdegoede@xxxxxxxxxx>
Signed-off-by: Andy Shevchenko <andriy.shevchenko@xxxxxxxxxxxxxxx>
---
drivers/platform/x86/Kconfig | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/platform/x86/Kconfig b/drivers/platform/x86/Kconfig
index 228fadb1c037..06b9a5ae5a63 100644
--- a/drivers/platform/x86/Kconfig
+++ b/drivers/platform/x86/Kconfig
@@ -1102,7 +1102,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
--
2.40.0.1.gaa8946217a0b