From patchwork Fri Oct 2 08:35:00 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Lee Jones X-Patchwork-Id: 11813019 Return-Path: Received: from mail.kernel.org (pdx-korg-mail-1.web.codeaurora.org [172.30.200.123]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 7C808618 for ; Fri, 2 Oct 2020 08:37:01 +0000 (UTC) Received: from merlin.infradead.org (merlin.infradead.org [205.233.59.134]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 3CFF120874 for ; Fri, 2 Oct 2020 08:37:00 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="1ZFi3eWI"; dkim=fail reason="signature verification failed" (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="IMxU52er" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 3CFF120874 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=linaro.org Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=merlin.20170209; h=Sender:Content-Transfer-Encoding: Content-Type:Cc:List-Subscribe:List-Help:List-Post:List-Archive: List-Unsubscribe:List-Id:MIME-Version:Message-Id:Date:Subject:To:From: Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender :Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To:References:List-Owner; bh=lBsbImgTqUiQxweiZrL/KYbjLsqOo1THz9F0+ro/DM0=; b=1ZFi3eWI24mpCvvRgk85iYpunc re38tHEH7+ACLAoyjJsGQ88EhvtqjluoOSE6QD5b4mQ0veE03Kw3Sn7FDeQ/MA+QXvWsfiBtOVWhV RSk+CanU4np0+U7x28YyhbfUkNF9iSVDbokMW5sZPD5mF+44G7bAlu6sXHReU55cwUFe4Lt3V0SKR EbJ6+dO0SYJOSXt5kGnV+oI4kOUTqMk87uTK7xLfADU2FUXRNK9c7/cxYJqnFIxfSEOO84iRCClbB eb/URq00V6bX0ZYgBpPMLxMuuKz4MUpntlg+2N/RaSeT/tzV3VhVrI55Q65pCpV02nojkoDnN6EdG IV1FQ/3A==; Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1kOGXL-00089i-GJ; Fri, 02 Oct 2020 08:35:31 +0000 Received: from mail-wm1-x342.google.com ([2a00:1450:4864:20::342]) by merlin.infradead.org with esmtps (Exim 4.92.3 #3 (Red Hat Linux)) id 1kOGXI-00088H-0V for linux-arm-kernel@lists.infradead.org; Fri, 02 Oct 2020 08:35:29 +0000 Received: by mail-wm1-x342.google.com with SMTP id l15so598408wmh.1 for ; Fri, 02 Oct 2020 01:35:26 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=ICZkcERGPwITMiBHpXHw7j+8+AV94Q7APOnZgsUkBfo=; b=IMxU52erZh/xiOPhbLBpcxqKwtRZfXjweyO+UtYR4IJNnIe1f9eFihMm5Jcn41x3Gx RhJ4rWOXXvNiyZKuABKa9c9V8R8dy5RNWdm/ukovw/gG6hVed/YCL2hfKOgltUX8wNEn /LKdlaHs4z1D6ZkZ4ADpT5ebZcXyOZSBcRwQRORKBuq/6yl9f5fizWUYktEY7jT9wujV /cu/swC2jtq5/PH7/QXl3Bjzbid8DeWouQ6O4SyO4DXX0Xo5sldFGtC9xUC2MPfikbID PghylftdsKzOXWJEpwYXGUyIKCf0zra68EIEIUx+odRQKMhnZiTL9DzrpoadO6gMu8Qr OASg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=ICZkcERGPwITMiBHpXHw7j+8+AV94Q7APOnZgsUkBfo=; b=DiSS5JvFFldJOEVH4IlN+97vrov0862IoZ7z+icZGrcDTA0jxNzgC10cCxKdX3P+a0 nA5FoGxZbjprRQzG6U7IhEnB67DbYeE7ylS1yyizp43LcKoxJk0Q0SYZ9Z6JbuIZMOfw ya9dhcqLq5eStgRHD8ep1OYw5Se2AaoE0CBH34Hgv3QX243Bjc9EbrSJONr3mY81tl+Y 1HH3fGKZAGzgMoRsRe8tE96t20BraMBR9Pv+zx3FwWgtfSuqJlEoNPWKdMsA1yenA/w+ pcIk0heJUOXIqUdiQB2CBAoLe0ZSlm5mwyet5vwDzqLUF9kJtqH9buJh8O5jGkOnaKis MUgg== X-Gm-Message-State: AOAM533AQoPmBqAqM7aFiCrpU+JdaBvQv3iKCg74mktFrX2ubutvxJSN zyVv1iGUXm19qqnRG2Hjc7hdLw== X-Google-Smtp-Source: ABdhPJyMXtkyJ9bmiNJZpb0GmN7b7aS3RFVcJ34mtyHwB5dqIXA9urSnyPVveYwF67X++jrg2uInuw== X-Received: by 2002:a7b:c208:: with SMTP id x8mr1598984wmi.30.1601627725544; Fri, 02 Oct 2020 01:35:25 -0700 (PDT) Received: from dell.default ([91.110.221.236]) by smtp.gmail.com with ESMTPSA id g12sm892386wro.89.2020.10.02.01.35.24 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 02 Oct 2020 01:35:24 -0700 (PDT) From: Lee Jones To: lee.jones@linaro.org Subject: [PATCH 1/1] mfd: sl28cpld: Depend on I2C Date: Fri, 2 Oct 2020 09:35:00 +0100 Message-Id: <20201002083500.796843-1-lee.jones@linaro.org> X-Mailer: git-send-email 2.25.1 MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20201002_043528_363449_509D7AA9 X-CRM114-Status: GOOD ( 12.90 ) X-Spam-Score: -0.2 (/) X-Spam-Report: SpamAssassin version 3.4.4 on merlin.infradead.org summary: Content analysis details: (-0.2 points) pts rule name description ---- ---------------------- -------------------------------------------------- -0.0 RCVD_IN_DNSWL_NONE RBL: Sender listed at https://www.dnswl.org/, no trust [2a00:1450:4864:20:0:0:0:342 listed in] [list.dnswl.org] -0.0 SPF_PASS SPF: sender matches SPF record 0.0 SPF_HELO_NONE SPF: HELO does not publish an SPF Record 0.1 DKIM_SIGNED Message has a DKIM or DK signature, not necessarily valid -0.1 DKIM_VALID_EF Message has a valid DKIM or DK signature from envelope-from domain -0.1 DKIM_VALID_AU Message has a valid DKIM or DK signature from author's domain -0.1 DKIM_VALID Message has at least one valid DKIM or DK signature X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Randy Dunlap , linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org Fixes the following randconfig build error: ld: drivers/mfd/simple-mfd-i2c.o: in function `simple_mfd_i2c_probe': simple-mfd-i2c.c:(.text+0x48): undefined reference to `__devm_regmap_init_i2c' ld: drivers/mfd/simple-mfd-i2c.o: in function `simple_mfd_i2c_driver_init': simple-mfd-i2c.c:(.init.text+0x14): undefined reference to `i2c_register_driver' ld: drivers/mfd/simple-mfd-i2c.o: in function `simple_mfd_i2c_driver_exit': simple-mfd-i2c.c:(.exit.text+0xd): undefined reference to `i2c_del_driver' Reported-by: Randy Dunlap Signed-off-by: Lee Jones Acked-by: Randy Dunlap # build-tested --- drivers/mfd/Kconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/mfd/Kconfig b/drivers/mfd/Kconfig index bdf8cb962027b..8b99a13669bfc 100644 --- a/drivers/mfd/Kconfig +++ b/drivers/mfd/Kconfig @@ -1188,6 +1188,7 @@ config MFD_SIMPLE_MFD_I2C config MFD_SL28CPLD tristate "Kontron sl28cpld Board Management Controller" + depends on I2C select MFD_SIMPLE_MFD_I2C help Say yes here to enable support for the Kontron sl28cpld board