Received: by 2002:a05:6a11:4021:0:0:0:0 with SMTP id ky33csp503942pxb; Tue, 14 Sep 2021 02:31:02 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzZMEAexv6KDnv+fqCKh8e8aseJg9RmR91L20GQ25IKKxvVtJgEpiTGyZtsHJv/lWreWBKD X-Received: by 2002:a6b:14f:: with SMTP id 76mr12885073iob.211.1631611861944; Tue, 14 Sep 2021 02:31:01 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1631611861; cv=none; d=google.com; s=arc-20160816; b=wj3TdUapB2KjD6UZzjSCILXnRQT48/i/cSZRwlaSSzgoqRwr+9YMZp0IrBXQNUUBzV I9HXN/33eIEety/ILAOxBGg6fbXObnAGbm/ZmHN+CsJ0k9EsZf/ZV99zDkGUvboFXaqS 5yo262wJOZkhNcVesD2rKtysw6Qp8AcYh/pZouLSYGP6qgrzXaBbKsgX7aFF/GR9syYB 1OJozZDvwVxGCPizg/k0PX0f2o8hh0qug2HR/3JSeEY4KOzLjppCcVKi9hFeTCE4rb7L jRzC6mlXbcfqnoz2J6Yb6vJEMY2sqG6OCiu7At8Ly4lEF8w2ARc0XIpPXoQRpIHbMDNJ GCqA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from; bh=hPw4hApPM0AZb+KRVbwEXSqbzUEw2NTxBTNjroRxyMM=; b=HyaO2iFRg3AGb6zqZnyk2pcf4xDVNVc/BkU6NC8GoiNqLIR8/nmC64pGrZ06XL94RY G2qhhjmgzIb0ST3WikijR+4uQGW5nqh7wG9uKjBpu/URb9Um8dWvyTStJjdHzPBiYzF9 ggZWH3Ty/HWDbEESPwxUBvKfoV2qlsPjALNzjV8/8oTjh/NlJWj5N9GaaJHNxMMTSihj 66kfmzKJMFN/IoxEsE26W/+oz9xE0QsSiNQiG2zaTRDTHzoGqgsPV5hEcF/rWGK8h1HH tpJXnGc8IAyiB5uKGphWFQpicwuAGWdavuZoYWaj6Bz8qp8Ysq+Gyttwz/JnjxhytMNS gQsw== 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 k1si9121402ilo.14.2021.09.14.02.30.48; Tue, 14 Sep 2021 02:31:01 -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 S230091AbhINJbN (ORCPT + 99 others); Tue, 14 Sep 2021 05:31:13 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:52682 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229551AbhINJbN (ORCPT ); Tue, 14 Sep 2021 05:31:13 -0400 Received: from xavier.telenet-ops.be (xavier.telenet-ops.be [IPv6:2a02:1800:120:4::f00:14]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id F2D3FC061574 for ; Tue, 14 Sep 2021 02:29:55 -0700 (PDT) Received: from ramsan.of.borg ([IPv6:2a02:1810:ac12:ed20:d46f:7eb5:4a37:9d14]) by xavier.telenet-ops.be with bizsmtp id tlVr2500F2aSKa101lVr2l; Tue, 14 Sep 2021 11:29:54 +0200 Received: from rox.of.borg ([192.168.97.57]) by ramsan.of.borg with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.93) (envelope-from ) id 1mQ4lC-004R8x-M8; Tue, 14 Sep 2021 11:29:50 +0200 Received: from geert by rox.of.borg with local (Exim 4.93) (envelope-from ) id 1mQ4lC-000i9G-7c; Tue, 14 Sep 2021 11:29:50 +0200 From: Geert Uytterhoeven To: Srinivas Kandagatla , Greg Kroah-Hartman , Emmanuel Gil Peyrot Cc: Michael Ellerman , Benjamin Herrenschmidt , Paul Mackerras , linuxppc-dev@lists.ozlabs.org, linux-kernel@vger.kernel.org, Geert Uytterhoeven Subject: [PATCH] nvmem: NVMEM_NINTENDO_OTP should depend on WII Date: Tue, 14 Sep 2021 11:29:49 +0200 Message-Id: <01318920709dddc4d85fe895e2083ca0eee234d8.1631611652.git.geert+renesas@glider.be> X-Mailer: git-send-email 2.25.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org The Nintendo Wii and Wii U OTP is only present on Nintendo Wii and Wii U consoles. Hence add a dependency on WII, to prevent asking the user about this driver when configuring a kernel without Nintendo Wii and Wii U console support. Fixes: 3683b761fe3a10ad ("nvmem: nintendo-otp: Add new driver for the Wii and Wii U OTP") Signed-off-by: Geert Uytterhoeven --- drivers/nvmem/Kconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/nvmem/Kconfig b/drivers/nvmem/Kconfig index 39854d43758be3fb..da414617a54d4b99 100644 --- a/drivers/nvmem/Kconfig +++ b/drivers/nvmem/Kconfig @@ -109,6 +109,7 @@ config MTK_EFUSE config NVMEM_NINTENDO_OTP tristate "Nintendo Wii and Wii U OTP Support" + depends on WII || COMPILE_TEST help This is a driver exposing the OTP of a Nintendo Wii or Wii U console. -- 2.25.1