Received: by 2002:a05:6a10:5bc5:0:0:0:0 with SMTP id os5csp929279pxb; Wed, 3 Nov 2021 15:01:09 -0700 (PDT) X-Google-Smtp-Source: ABdhPJz0e2JQeDTUi4gzpAPZAapcDpy5cWmQRLiRLJiWD8bxfGb3GsIl5V0rJ2dfDFLqIr3pZuor X-Received: by 2002:a17:907:2da5:: with SMTP id gt37mr35900356ejc.316.1635976868844; Wed, 03 Nov 2021 15:01:08 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1635976868; cv=none; d=google.com; s=arc-20160816; b=Z7cgII5esrB4v1J/yDx9sMJTxge/VW3XedGoulreUo4mj0aBrncqQzXkGH4UQiBQhu 0ad0TqpGrvTQRIdKA2j2gnNjizymQekEyUuc3MSJjT1G2xeXzkqfaSYcZnA/HLVS+XNT tzeI9aOYi+KlfY6jIKQEzRfxxGpK8FxOTm37QHI4POyTGIUcX+FsqbpKEOZ5JOh+i4aA M7XiE3zJlGyrIIqMpar0uvw/JODau6fnoDdrfA+VIHqSwVYS8NhYVoB5H9hnFGfx3fem z3OG9n0n/GxGNeutJ/zRGib0gC91U9ZUogB3zuXCaXI4CKMG76JNY4+TS6TDHlePZabK rmrA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:subject:cc:to:from:date:references:in-reply-to :message-id:mime-version:user-agent:dkim-signature:dkim-signature; bh=BFpSeydUYykvcAWDIgLlGSO9wEbNOyaIHwPaFMxP/F4=; b=LMDm9Rxk5tJYgOChnqYxUG6pOM5SvWFUCEl93U0FLbl164Z0ah0BfwQNKTerd2pSQW LsV0unOcridbvjjeh7hFzgEUmhGTgEcqQLgKmaPDnYXLe/7CvKyljI9Wgnya391+guWM 2bePYzOVOMVdHAXtrNIiGdXnaszVFhdrYlgCAAiZ4Xql/nKp3ZaM0kltasl9V3DXydXj qn/Zg41nNQzE5UDQ1YZlPDjP4FR43bZo2ujes1gBTatECMTnlIAiQjM3wTnqTI3NH1ZC ntQFjwilEWQIHKlr+bLufWXTVNy/lrag1B8Ws0MnYQki1DZvay0YziJ54WuTG6JlExlf cUKA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@alistair23.me header.s=fm2 header.b=dhq3viT3; dkim=pass header.i=@messagingengine.com header.s=fm1 header.b=Q2NMiEaV; 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 gs43si5957538ejc.338.2021.11.03.15.00.43; Wed, 03 Nov 2021 15:01:08 -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; dkim=pass header.i=@alistair23.me header.s=fm2 header.b=dhq3viT3; dkim=pass header.i=@messagingengine.com header.s=fm1 header.b=Q2NMiEaV; 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 S230202AbhKCWBc (ORCPT + 99 others); Wed, 3 Nov 2021 18:01:32 -0400 Received: from out2-smtp.messagingengine.com ([66.111.4.26]:42341 "EHLO out2-smtp.messagingengine.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229698AbhKCWBb (ORCPT ); Wed, 3 Nov 2021 18:01:31 -0400 Received: from compute3.internal (compute3.nyi.internal [10.202.2.43]) by mailout.nyi.internal (Postfix) with ESMTP id 0DFC35C01BA; Wed, 3 Nov 2021 17:58:54 -0400 (EDT) Received: from imap43 ([10.202.2.93]) by compute3.internal (MEProxy); Wed, 03 Nov 2021 17:58:54 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=alistair23.me; h=mime-version:message-id:in-reply-to:references:date:from:to :cc:subject:content-type; s=fm2; bh=BFpSeydUYykvcAWDIgLlGSO9wEbN OyaIHwPaFMxP/F4=; b=dhq3viT30ECLz3CJRaKXrfE9trD60xuBLLsYO7wLoEWL VGBgefCayJ51vBmfdoAl5h2rh9vDRGH9NTdqh4GnmECobauRG/OeX4svUp8ASYij VsM5UR5vvz1QCqNuIHLpLaVqWgQlZYwRFz+RSfcxVR5Ljda+XzTvyBLoc2cdczIW Q5IUddHTqVQ1ZXsZDnbSz4UBFWV+yjRXBgcaF8nDeVAG4Lg3636q9WNCi5vPqwxb t9WpNKOR5XOT6mdF0v1zWC00WWkf4+5tN35mb/I4iC6nwYFCq1wC1PZOGCZ9szO1 FhNj26At01LrEglvdKQB+u/JgBDz/XGyqZ5tkW1O3A== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-type:date:from:in-reply-to :message-id:mime-version:references:subject:to:x-me-proxy :x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s=fm1; bh=BFpSey dUYykvcAWDIgLlGSO9wEbNOyaIHwPaFMxP/F4=; b=Q2NMiEaVv+T07SBx3JFC5D X5sV3s34z8+Tn2vl1xx41UTM7dpzWAstujczJZicggQHbZsD8eepaYkog0RRfmsE X9PFMPdGoxf6JLWODR5OTJGq1P9ivotJTCWWuvRe9+Jn8swekrNKVLjmZ5yI4w5Z TqOF6x/Xun/yx9wogMyCabV/Qt3XeCfRTjbod7ynWhex5lNkcBldKEg1IlXBMczs 5ZoC1mdBXjz7NSUgqW3wjt1dQBqHK+MXhbcRdk9yXyEx9xY1BB2J0R0GTqZXaJeo hN+Im8egD3X51RDXR+ys1/32qq+fPRSxZcgegyUrR1Lf2nYkFou0MwUo88wXzsKQ == X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvuddrtddvgdduhedvucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmne cujfgurhepofgfggfkjghffffhvffutgesthdtredtreertdenucfhrhhomheptehlihhs thgrihhruceorghlihhsthgrihhrsegrlhhishhtrghirhdvfedrmhgvqeenucggtffrrg htthgvrhhnpeeuffekveehjeeltdeuveeikeelkeejhfejheduhfdtgfdtgfejjeekvdev jeevueenucevlhhushhtvghrufhiiigvpedtnecurfgrrhgrmhepmhgrihhlfhhrohhmpe grlhhishhtrghirhesrghlihhsthgrihhrvdefrdhmvg X-ME-Proxy: Received: by mailuser.nyi.internal (Postfix, from userid 501) id 5A584AC0DD1; Wed, 3 Nov 2021 17:58:53 -0400 (EDT) X-Mailer: MessagingEngine.com Webmail Interface User-Agent: Cyrus-JMAP/3.5.0-alpha0-1369-gd055fb5e7c-fm-20211018.002-gd055fb5e Mime-Version: 1.0 Message-Id: <107f229e-9060-49f2-bc4b-c12e2d0c1b59@www.fastmail.com> In-Reply-To: <20211103190426.1511507-1-tyhicks@linux.microsoft.com> References: <20211103190426.1511507-1-tyhicks@linux.microsoft.com> Date: Thu, 04 Nov 2021 07:58:33 +1000 From: Alistair To: "Tyler Hicks" , "Lee Jones" Cc: "Linux Kernel Mailing List" Subject: Re: [PATCH] mfd: simple-mfd-i2c: Fix linker error due to new mfd-core dependency Content-Type: text/plain Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, Nov 4, 2021, at 5:04 AM, Tyler Hicks wrote: > Select CONFIG_MFD_CORE from CONFIG_MFD_SIMPLE_MFD_I2C, now that > simple-mfd-i2c.c calls devm_mfd_add_devices(), to fix the following > linker error: > > ld: drivers/mfd/simple-mfd-i2c.o: in function `simple_mfd_i2c_probe': > simple-mfd-i2c.c:(.text+0x62): undefined reference to `devm_mfd_add_devices' > make: *** [Makefile:1187: vmlinux] Error 1 > > Fixes: c753ea31781a ("mfd: simple-mfd-i2c: Add support for registering devices via MFD cells") > Cc: stable@vger.kernel.org # 5.15.x > Signed-off-by: Tyler Hicks Reviewed-by: Alistair Francis Alistair > --- > drivers/mfd/Kconfig | 1 + > 1 file changed, 1 insertion(+) > > diff --git a/drivers/mfd/Kconfig b/drivers/mfd/Kconfig > index ca0edab91aeb..d2f345245538 100644 > --- a/drivers/mfd/Kconfig > +++ b/drivers/mfd/Kconfig > @@ -1194,6 +1194,7 @@ config MFD_SI476X_CORE > config MFD_SIMPLE_MFD_I2C > tristate > depends on I2C > + select MFD_CORE > select REGMAP_I2C > help > This driver creates a single register map with the intention for it > -- > 2.25.1 > >