From patchwork Tue Aug 22 14:25:14 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Andy Shevchenko X-Patchwork-Id: 13361002 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 5722BEE4993 for ; Tue, 22 Aug 2023 14:25:26 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S235546AbjHVOZ0 (ORCPT ); Tue, 22 Aug 2023 10:25:26 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:33900 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233397AbjHVOZ0 (ORCPT ); Tue, 22 Aug 2023 10:25:26 -0400 Received: from mgamail.intel.com (mgamail.intel.com [134.134.136.126]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 80A10CE2; Tue, 22 Aug 2023 07:25:21 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1692714321; x=1724250321; h=from:to:cc:subject:date:message-id:mime-version: content-transfer-encoding; bh=yu74ytHANZt6e25HkizTMBfLvxrlpIvD6YSjq1JsaNk=; b=Zmmt+36VOrgED+r8naiNUW0U88fSFarcuMUJduZPJ+tyZQiZXBxhZgbM y5QP6C33+ycwH2ss49CNqzTro+ctDYmnwQWMTaGCA7okVnj3OMKii284d Si+W9juRZkkIi/Qd5FVFtIIz30tiopwFylqaruDAH/pzSgYfWxyiK8sHR IHUyp0x0Lk5yyj01RN4jDBLMDVROoJudx1D7u3CY4WZbsZz+qzM2iwQbB roglW4F2tsS8FPmbpjzIo92lzNbtQ0VCz3sZv/+55R1EqqVsD+XnkrRX/ /efGtCGEob5T6uRoaBdqksJKcwtMEDRWgOXhDVkIj7jHGHywq3giJ5MiA A==; X-IronPort-AV: E=McAfee;i="6600,9927,10809"; a="358881185" X-IronPort-AV: E=Sophos;i="6.01,193,1684825200"; d="scan'208";a="358881185" Received: from fmsmga001.fm.intel.com ([10.253.24.23]) by orsmga106.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 22 Aug 2023 07:25:20 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="6.01,202,1684825200"; d="scan'208";a="879973303" Received: from black.fi.intel.com ([10.237.72.28]) by fmsmga001.fm.intel.com with ESMTP; 22 Aug 2023 07:25:23 -0700 Received: by black.fi.intel.com (Postfix, from userid 1003) id BB8292FF; Tue, 22 Aug 2023 17:25:17 +0300 (EEST) From: Andy Shevchenko To: Hans de Goede , platform-driver-x86@vger.kernel.org, linux-kernel@vger.kernel.org Cc: Mark Gross , Arnd Bergmann , Andy Shevchenko Subject: [PATCH v1 1/1] platform/x86: p2sb: Make the Kconfig symbol hidden Date: Tue, 22 Aug 2023 17:25:14 +0300 Message-Id: <20230822142514.2140897-1-andriy.shevchenko@linux.intel.com> X-Mailer: git-send-email 2.40.0.1.gaa8946217a0b MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: platform-driver-x86@vger.kernel.org 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 --- 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