Received: by 2002:a05:6a10:5bc5:0:0:0:0 with SMTP id os5csp773646pxb; Wed, 3 Nov 2021 12:08:57 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwBDHRPS7p8M5Z2TjCBD3AN5EFsiYQ4157F6GCKBgFWLUp2Li7O+Ndrh86p0xMdRqLpfCxc X-Received: by 2002:a92:6408:: with SMTP id y8mr32756107ilb.34.1635966537053; Wed, 03 Nov 2021 12:08:57 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1635966537; cv=none; d=google.com; s=arc-20160816; b=VPhO5yAU1LJVVHMeCuCNAXGD3MbWJX6gAT3LV8gnVWv7S6M0nJQ0rWVWhMhp0tiZc0 xsI/uRrz6vsjICqZIWEHdQom1512SZLO2WIaMCQHkkPypVs15l+huuQovgwdAo+HSoVy 7gWHKbqwCVr755f32nmYL7xzds14CnAMOYRIGkr7ZgE3nSvz3xc7PC/nRO3X7AuiCq2F MOJ/3w9cKf6W1MmKuOrx3kC++DjRyuUjTO0CJBwb+uggrwRDvbqSzVPeJzM7h2Y5q7fH bsMUInY2wcPy6fk9nu7h0+24pA4zgNqIkqSUfCOezy/IZFcwJ6eGLTHuAXfsV+g6TI26 yqbw== 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:dkim-signature:dkim-filter; bh=Ul80Vu5Otv/Oegs5gBk421bsnOEAue0lkyMmdBXmyNY=; b=M1rXDGPlOyKYoB030Pk2/rC0T96tVulp1JuOgzvkr/hhz23NfrLtgS4pBbtwDZeP8y ruMDo7KyYhK5AFrBlR1PeT2imrwifwj+7pyqPmtI5byB0vIzAAFGpSMuHN3X/ANnGvZJ +PWk0d7HD36AAUU/hmJLc4Y7cSZBStJR61QKYJzaiarFOsOgZ09QUvbPEwUx4WWIFCXp 8jkX7e6dxPPB5x2vct3p6zE2QHVlYNTBfiNCBYoPinIeD5hrYvNMMIy37xEuqQTQYtjg QXZjYbtPR2Slpm1ojHPUqr3F+SkRUJKVXBbf5Np5nUYIjCzOjBAyUtAyQeLcSlSghRIq jUvQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linux.microsoft.com header.s=default header.b="KX/Jk4oR"; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linux.microsoft.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id q14si5714889ilo.89.2021.11.03.12.08.20; Wed, 03 Nov 2021 12:08:57 -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=@linux.microsoft.com header.s=default header.b="KX/Jk4oR"; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linux.microsoft.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230500AbhKCTHc (ORCPT + 99 others); Wed, 3 Nov 2021 15:07:32 -0400 Received: from linux.microsoft.com ([13.77.154.182]:58990 "EHLO linux.microsoft.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229697AbhKCTHb (ORCPT ); Wed, 3 Nov 2021 15:07:31 -0400 Received: from sequoia.work.tihix.com (162-237-133-238.lightspeed.rcsntx.sbcglobal.net [162.237.133.238]) by linux.microsoft.com (Postfix) with ESMTPSA id BDA5020519AA; Wed, 3 Nov 2021 12:04:54 -0700 (PDT) DKIM-Filter: OpenDKIM Filter v2.11.0 linux.microsoft.com BDA5020519AA DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linux.microsoft.com; s=default; t=1635966295; bh=Ul80Vu5Otv/Oegs5gBk421bsnOEAue0lkyMmdBXmyNY=; h=From:To:Cc:Subject:Date:From; b=KX/Jk4oRJ2aamGJrdsiUFwzyiOsudtC5eZZZ+wjqm5W/YQOz1aPWLzGMC1yI/5eyl fZZlq2bjFC+axiCSMFLWMipVQevrVF190rZmntQlrYv7hWmVoEddU8tg+xJIhq3Koe UpUN5UtAUWwy85iiOk3J/5k6jN7bBveqUiqot2KQ= From: Tyler Hicks To: Lee Jones Cc: Alistair Francis , linux-kernel@vger.kernel.org Subject: [PATCH] mfd: simple-mfd-i2c: Fix linker error due to new mfd-core dependency Date: Wed, 3 Nov 2021 14:04:26 -0500 Message-Id: <20211103190426.1511507-1-tyhicks@linux.microsoft.com> 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 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 --- 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