Received: by 2002:a05:6a10:22f:0:0:0:0 with SMTP id 15csp3277638pxk; Mon, 5 Oct 2020 06:00:43 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxJdh2HEo5yAZsnnwdF8QllfJBTpzmYjpI+3AR2LAI3nuhOPkKyapoijner8Kj8ehf/DDkR X-Received: by 2002:a17:906:4dc7:: with SMTP id f7mr9402067ejw.73.1601902843173; Mon, 05 Oct 2020 06:00:43 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1601902843; cv=none; d=google.com; s=arc-20160816; b=ZlF6ihDWvEYSwOrOD6oUDnazPIGuSxBQQrKBiRvgzRRU59n7PTnhx+POvOJAm+iGFx Gfsgqrhcoo21tAH6NTWEPNSyTgk/FalcVY3f6ZGPLR+6dMPJgtCAlxvQ19rRu/uONhzt gXlgyjXLPeAH/6S9FYL0QnMsNNBi0Jm4qpvll6M+ITARa5ZTSAyF9rZrSNwXs/QWxNNr wwMQjpjFXNMTqfPx8Mb7P46NmcNJncJtn3QtdN+K0y+Lct7j8Im54xx/RNSBUXP5phou znu25bsRYfAVvebCiBgPk1WD40IDJllWsiWtKFvMc5tuA8rRHC12PopMyJwaoHqTjWhD CCiw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:message-id:date:subject:cc:to:from; bh=/tGreBlYskOw4onorpV3mcbnYV+KALe6iTEayrHcIOY=; b=Kr6NFh49FI4JKXH1g4b3W6IUXSW7bEztpP06Z4pC29XUo4IncqXZan33oMY1HciUiS CxoyCzA4DdnMZnzDA63Fnfuw8km34DXAeJ7lpCbPlZ57qbU2EuZZXRxHSHKTeL0I6MS9 zxm++M6ng1cn7SOAr62M1n2P/FY2xryKSgj0Vni9EWgijLtLSjYTfGeJLbqVr8IlZ0Dj N+R94RdxTvkvQw4hjZka3PnYb02cAfP00OCvVbSqKfDPCUQ10APuRHd2cLzTrCvqwnWD oe6IFVeEPMcQSXrrEnO/Hld/nJQrTWkn1wWZRqDvakMicYwIMqXUZb8B+qGf8ytB0oeD SSvA== 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 t12si4973099eje.412.2020.10.05.06.00.19; Mon, 05 Oct 2020 06:00:43 -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 S1725981AbgJEMty (ORCPT + 99 others); Mon, 5 Oct 2020 08:49:54 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:52202 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725891AbgJEMtx (ORCPT ); Mon, 5 Oct 2020 08:49:53 -0400 Received: from laurent.telenet-ops.be (laurent.telenet-ops.be [IPv6:2a02:1800:110:4::f00:19]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 781D9C0613CE for ; Mon, 5 Oct 2020 05:49:53 -0700 (PDT) Received: from ramsan ([84.195.186.194]) by laurent.telenet-ops.be with bizsmtp id cCpr2300d4C55Sk01CpsPl; Mon, 05 Oct 2020 14:49:52 +0200 Received: from rox.of.borg ([192.168.97.57]) by ramsan with esmtp (Exim 4.90_1) (envelope-from ) id 1kPPw7-0006ZN-Tg; Mon, 05 Oct 2020 14:49:51 +0200 Received: from geert by rox.of.borg with local (Exim 4.90_1) (envelope-from ) id 1kPPw7-0006z9-RL; Mon, 05 Oct 2020 14:49:51 +0200 From: Geert Uytterhoeven To: Khalil Blaiech , Vadim Pasternak , Wolfram Sang Cc: linux-i2c@vger.kernel.org, linux-kernel@vger.kernel.org, Geert Uytterhoeven Subject: [PATCH] i2c: mlxbf: I2C_MLXBF should depend on MELLANOX_PLATFORM Date: Mon, 5 Oct 2020 14:49:49 +0200 Message-Id: <20201005124949.26810-1-geert+renesas@glider.be> X-Mailer: git-send-email 2.17.1 Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org The Mellanox BlueField I2C controller is only present on Mellanox BlueField SoCs. Hence add a dependency on MELLANOX_PLATFORM, to prevent asking the user about this driver when configuring a kernel without Mellanox platform support. Fixes: b5b5b32081cd206b ("i2c: mlxbf: I2C SMBus driver for Mellanox BlueField SoC") Signed-off-by: Geert Uytterhoeven --- drivers/i2c/busses/Kconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/i2c/busses/Kconfig b/drivers/i2c/busses/Kconfig index 96685b273f637176..424dee8b33600057 100644 --- a/drivers/i2c/busses/Kconfig +++ b/drivers/i2c/busses/Kconfig @@ -732,7 +732,7 @@ config I2C_LPC2K config I2C_MLXBF tristate "Mellanox BlueField I2C controller" - depends on ARM64 + depends on MELLANOX_PLATFORM && ARM64 help Enabling this option will add I2C SMBus support for Mellanox BlueField system. -- 2.17.1