Received: by 2002:a05:6a10:1d13:0:0:0:0 with SMTP id pp19csp5336pxb; Wed, 25 Aug 2021 18:13:54 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzmUNMuJbopzQaQy0nvzfP5uiJTqub7AIj4/k0erYxZXJMTHgumCY2bzYgiKHIbho9OF2Bi X-Received: by 2002:a05:6402:8c6:: with SMTP id d6mr1518424edz.30.1629940434167; Wed, 25 Aug 2021 18:13:54 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1629940434; cv=none; d=google.com; s=arc-20160816; b=x5sU34g5oBykkc9MylRcg86rSRuP5yTTRUlZMLFI7qW9Ph791+Y6JKO5olmiAGJk/v 6/3Gi1OMQcGcu+7s61AwDGvhtW+TjoKjrfKtiT2hMEU45x+8STNvXWF9d4G1RoclP7b+ 37M1xVICVw2HpwfdgYwDTOpLwYmllCgR2/KLz002aJTYdB3Sa3PWpMcaC7hGtklldNrZ laK4H5PTAPvpUe0yMVSAx1+Xr+8/faZ0PSwblGkzcIhKNv45lkGFYexhRc2rJJRKanhH DjOWvD5rpppdec1H8TTibEUKnxNd+L6Y9qyLF8nnr+KyXpSioUH+Qs5pEJH3mKG5P0JT b7Yg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:message-id:date:subject:cc:to:from; bh=jyLTGG74NW3T9yzNEcTuKy8wgsHmdW3sbTZq4gNlExY=; b=v0QO0p1Kq8bwjZJqM+PiK1J9VOKrwzQ12yYBc45PsW7pGaXIdWZH8+TrlMZhzrYF9I bLwGATLRRkSidh2gkQlIgy0/8aVX4hPcFt9HpLsFXlgT0EMZRg+d7BcyptBnBwC+Izzy hDBv4tmDyjhpRtohpwLsC/bNUkVObiCt5oAbQJ0ZJA4FuEAzNFlUgkCr8/Q8vzA3q6u3 m8gzFZSqs0Wfeb/8SJpzld4aZSXG8RAj5BtMBTXlrXgbqK2z9Zt19HqbC7DezGFFxFBF sp4j5MXCFR/SiYznl8iJj0hlKmkwuPYDuM0n2yg96AcRPapXlInxCxKltcOUjI74YaiB KEfg== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id jg33si1472376ejc.212.2021.08.25.18.13.05; Wed, 25 Aug 2021 18:13:54 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S235484AbhHZBLK (ORCPT + 99 others); Wed, 25 Aug 2021 21:11:10 -0400 Received: from mx21.baidu.com ([220.181.3.85]:58002 "EHLO baidu.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S235172AbhHZBLJ (ORCPT ); Wed, 25 Aug 2021 21:11:09 -0400 Received: from BC-Mail-Ex22.internal.baidu.com (unknown [172.31.51.16]) by Forcepoint Email with ESMTPS id D1B142C855F18396FE99; Thu, 26 Aug 2021 09:10:19 +0800 (CST) Received: from BJHW-MAIL-EX27.internal.baidu.com (10.127.64.42) by BC-Mail-Ex22.internal.baidu.com (172.31.51.16) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.2242.12; Thu, 26 Aug 2021 09:10:19 +0800 Received: from LAPTOP-UKSR4ENP.internal.baidu.com (172.31.63.8) by BJHW-MAIL-EX27.internal.baidu.com (10.127.64.42) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.2308.14; Thu, 26 Aug 2021 09:10:19 +0800 From: Cai Huoqing To: , , CC: , , "Cai Huoqing" Subject: [PATCH v2] tpm: tis: Kconfig: Add helper dependency on COMPILE_TEST Date: Thu, 26 Aug 2021 09:10:12 +0800 Message-ID: <20210826011012.2772-1-caihuoqing@baidu.com> X-Mailer: git-send-email 2.17.1 MIME-Version: 1.0 Content-Type: text/plain X-Originating-IP: [172.31.63.8] X-ClientProxiedBy: BC-Mail-Ex15.internal.baidu.com (172.31.51.55) To BJHW-MAIL-EX27.internal.baidu.com (10.127.64.42) Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org COMPILE_TEST is helpful to find compilation errors in other platform(e.g.X86). In this case, the support of COMPILE_TEST is added, so this module could be compiled in other platform(e.g.X86), without ARCH_SYNQUACER configuration. Signed-off-by: Cai Huoqing --- v1->v2: extend the commit message. drivers/char/tpm/Kconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/char/tpm/Kconfig b/drivers/char/tpm/Kconfig index d6ba644f6b00..4a5516406c22 100644 --- a/drivers/char/tpm/Kconfig +++ b/drivers/char/tpm/Kconfig @@ -76,7 +76,7 @@ config TCG_TIS_SPI_CR50 config TCG_TIS_SYNQUACER tristate "TPM Interface Specification 1.2 Interface / TPM 2.0 FIFO Interface (MMIO - SynQuacer)" - depends on ARCH_SYNQUACER + depends on ARCH_SYNQUACER || COMPILE_TEST select TCG_TIS_CORE help If you have a TPM security chip that is compliant with the -- 2.25.1