Received: by 2002:a05:6a10:5bc5:0:0:0:0 with SMTP id os5csp4044765pxb; Tue, 2 Nov 2021 03:08:52 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwq5BHxClW3JtNzYDbXPFrwLFC8I61zyco1kw21hiYi64hgJvX5DvfeT2daRH93fvZLmubO X-Received: by 2002:a17:907:961d:: with SMTP id gb29mr26503219ejc.102.1635847732207; Tue, 02 Nov 2021 03:08:52 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1635847732; cv=none; d=google.com; s=arc-20160816; b=AAAY0UxFTOhaRjPgaXB5uBtUP3o2Ea8qFn8XAoJO8wY9rQt+E8O2IURn1Ww/xWJt8l rBoPfC7hNos+nJx9g9RZYRBwszDh55Db1JshHbOcTNinQ2f0kX85A6QZGn2SZ5Cun5SW mT9915VUWm/0huNZ7NNu2CD7qPTNYviCXviYPvw7dzJFBh4M4Dkp6GVw5bChhrpxfcmL cSQcan2BuHN5I6fKjyewCN+qU9KH6N0BqTwujLf8+1mJice8tZB51GWarwHKVVTWXGPt GmH+/+aSoYiI+eNfqR0GrihUzpZM+Xsgbxfn5LuwACwgND8axSvMcZXov22VOaLEOpYl exvw== 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; bh=3+t+3tBvZ55KmjFJAzPVh7PkIiV/wiSXOJElNmqRWcA=; b=TG7tYDs0PZcs3qClXQmsvF24cvXLXHq16C9hGf1D1Awl4596WPkCFMuKnMvph6tRhQ KA81xe4MsDNzewsI83C0VDgq9NTQ0pOx562YaT4ts8+BW6GfimUlRbiPzx6h8P94ae7z 7FoceWrIwVsV1/Qu0YfsD9deUj7pRLZR+5+0BebJMR801X8V3RLQ33xGDapqDTUrY2oY OIgy9cDG1VomRh4ULiJueLIIoMEXgxxqcxpaY+f2TtBad9bAJDoYgqs8VuONrqRFayrk 9OIS34Uxz3FWzKn6nEpOFGxFcdpkuptddgtFIT33qrrKHd11AHHLUycQrljY16+HiCZp pTig== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@sartura-hr.20210112.gappssmtp.com header.s=20210112 header.b=vY2STts0; 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 e1si17489985edr.491.2021.11.02.03.08.25; Tue, 02 Nov 2021 03:08:52 -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=@sartura-hr.20210112.gappssmtp.com header.s=20210112 header.b=vY2STts0; 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 S229577AbhKBKHF (ORCPT + 99 others); Tue, 2 Nov 2021 06:07:05 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:38092 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229770AbhKBKHC (ORCPT ); Tue, 2 Nov 2021 06:07:02 -0400 Received: from mail-ed1-x533.google.com (mail-ed1-x533.google.com [IPv6:2a00:1450:4864:20::533]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id CAC04C061714 for ; Tue, 2 Nov 2021 03:04:27 -0700 (PDT) Received: by mail-ed1-x533.google.com with SMTP id r4so73333457edi.5 for ; Tue, 02 Nov 2021 03:04:27 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sartura-hr.20210112.gappssmtp.com; s=20210112; h=from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=3+t+3tBvZ55KmjFJAzPVh7PkIiV/wiSXOJElNmqRWcA=; b=vY2STts06FZ60Ai8F4v458MeLyNssicvxtTXqeZyary7pXATu6moH8Z6oNoItXFd1K do0ecGZJcKW8qxAcguJ6E9yflvb6YkhuyoUZBdI+Ad9632jFt3Iak3QfZfGDHgEu2vOf kIhaX8r3x3B3N6g8gLT8x4U9VvbmXedif/6C5vew9rX+dSqIY0++CAt0snzPpuqf53S/ 4p9F4YKpjyIfUjqQq9zjTzrpHfVOfdg3sauat/fGGlF/+PdrkY7VOcs8UZAYjxYguvBt cCetI+Aj+I6JDyogCQaippbVsNrmeVkJ7BpSFTc9wTzw6ij8CFaAyux73bsNYSyV7y2F BQ5w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=3+t+3tBvZ55KmjFJAzPVh7PkIiV/wiSXOJElNmqRWcA=; b=SbnsJRqvT5mFFzHJhFdqJly3eBdUtnFV0gCxpHbf7KeF9BBTd90bEA6vluRImE4k0R DX/kdKh/Eft4lt+ap47T0VcmmiAecWziUk44zk1o/Ren83LsEumDa4Svhx+bM6nACFqZ 3BnTqAQTbXf5dZR9QDvcwv3lBNCIaQi0ZAzC8JBCnZlMKBjexw2fUcfvIQsLg6jEB6ys L4Vsg9zMwxENrATybeY7jzRgvpCDvG5FNWT01EM6jbU+q2Fm5oEJzDpcNysaBIvmjoQy zGM4LWbY/xAvH1VD06cU0DwCqZbprOeTuGrlIqEW5mPrgEEwaVhtRQfvzdwJwsfQ3Ln3 rlUw== X-Gm-Message-State: AOAM531KJpUOgxxomvec8BNneEIfU8g1xSKkIXJQWHFjw70lc9SRsfgL Jklv78CJGjiftrmNXwY+nTKshHiHUuIXWQ== X-Received: by 2002:a05:6402:152:: with SMTP id s18mr49021718edu.314.1635847466394; Tue, 02 Nov 2021 03:04:26 -0700 (PDT) Received: from fedora.. (cpezg-94-253-144-183-cbl.xnet.hr. [94.253.144.183]) by smtp.googlemail.com with ESMTPSA id j15sm10534090edl.34.2021.11.02.03.04.25 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 02 Nov 2021 03:04:26 -0700 (PDT) From: Robert Marko To: lee.jones@linaro.org, michael@walle.cc, linux-kernel@vger.kernel.org Cc: Robert Marko Subject: [PATCH] mfd: simple-mfd-i2c: Select MFD_CORE to fix build error Date: Tue, 2 Nov 2021 11:04:20 +0100 Message-Id: <20211102100420.112215-1-robert.marko@sartura.hr> X-Mailer: git-send-email 2.33.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org MFD_SIMPLE_MFD_I2C should select the MFD_CORE to a prevent build error: aarch64-linux-ld: drivers/mfd/simple-mfd-i2c.o: in function `simple_mfd_i2c_probe': drivers/mfd/simple-mfd-i2c.c:55: undefined reference to `devm_mfd_add_devices' Fixes: 3abee4579484 ("mfd: Add simple regmap based I2C driver") Signed-off-by: Robert Marko --- drivers/mfd/Kconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/mfd/Kconfig b/drivers/mfd/Kconfig index 61992edf6a4d..2de69892b631 100644 --- a/drivers/mfd/Kconfig +++ b/drivers/mfd/Kconfig @@ -1204,6 +1204,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.33.1