Received: by 2002:a05:7412:8521:b0:e2:908c:2ebd with SMTP id t33csp411414rdf; Fri, 3 Nov 2023 04:43:39 -0700 (PDT) X-Google-Smtp-Source: AGHT+IFGcf1nDcEI3Y03pkjpD/R+CixZNoFMwcOSfMiFEZxQ5AGFtnYlT94J+1he59mVa4Q5RfWj X-Received: by 2002:a17:907:934d:b0:9d3:ccd1:a911 with SMTP id bv13-20020a170907934d00b009d3ccd1a911mr6863712ejc.76.1699011819098; Fri, 03 Nov 2023 04:43:39 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1699011819; cv=none; d=google.com; s=arc-20160816; b=hQUeWZu2MZzwEUukf3WOVbwuZxJeAb70BonPMqEEFzCHqPBSfNv7vix7OjpTsvOGDY dXmzsfCbfmwB69E8A1D8JGNYVLJQFYJXWkWsu/VXSSgb++ZQTFTvnUT6jUpMDi5RYkkq u6Zp5rADSr7ii3rvrfrck2pWaDba0kaORrleUDhknIDzIk1hiO1B5eeoNmm8V17Kp3x3 4t0g9IBgy1Uik4S2BmonlAzms6v0MlBTu24TBykLqjXUi2zHksYAO16jN//Gf3B7pzK+ jWWy9YmiGxgAVaw5lY3inoDkBcegJK13T4pz2Mc/gSbo2QXKalCUT4MTTG4k8DAIE9Js HvjA== 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=IOazNjfDwPJeWP2F5DuRijhjPXMLQUz1rI0xn4qRsaI=; fh=2XzdAX/jVsM43V4i2AoPZM4tSbig3zRJu9M8+d7G/Rs=; b=BqkbivKdozOXtnxEM9nTrrGd3pc2ktW+nt/82763ZlEbs5E8SzNcDA7jtuLNdXMkvL nLJpjCaSFS64ggLZlXZwlm0UahqvcYkh1Vov3snyofws//1se1/upNe7xFpLsB4fP6NP 8IOlvkmKgIL1e5EQC3Ht7A+1qTjMqk72WPED9lJKrf0Mqel7oStn8otvmbuvTtUmbfLY /18EK+FDKPH7jciVGubfOmXn1PDMDWd+iOgiPRcejxvA99aIsWiPSs9M2LfMGE+w9Imv 8wX0sfk9VfCPMZhAp7wh2kgW9/HGPB5ipVE5UU2Ax8D0qjaWudtj2wNZ/cUdBOeMOAch paYg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@riseup.net header.s=squak header.b=GTWq6IRj; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:5 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=riseup.net Return-Path: Received: from groat.vger.email (groat.vger.email. [2620:137:e000::3:5]) by mx.google.com with ESMTPS id ks13-20020a170906f84d00b0097650856f55si801340ejb.695.2023.11.03.04.43.38 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 03 Nov 2023 04:43:39 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:5 as permitted sender) client-ip=2620:137:e000::3:5; Authentication-Results: mx.google.com; dkim=pass header.i=@riseup.net header.s=squak header.b=GTWq6IRj; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:5 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=riseup.net Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by groat.vger.email (Postfix) with ESMTP id 6C7DB826651E; Fri, 3 Nov 2023 04:43:29 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at groat.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1346241AbjKCLnJ (ORCPT + 99 others); Fri, 3 Nov 2023 07:43:09 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:50470 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229965AbjKCLnI (ORCPT ); Fri, 3 Nov 2023 07:43:08 -0400 Received: from mx1.riseup.net (mx1.riseup.net [198.252.153.129]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id C79CC1BF; Fri, 3 Nov 2023 04:43:02 -0700 (PDT) Received: from fews02-sea.riseup.net (fews02-sea-pn.riseup.net [10.0.1.112]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by mx1.riseup.net (Postfix) with ESMTPS id 4SMJlF69LZzDqL8; Fri, 3 Nov 2023 11:42:49 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=riseup.net; s=squak; t=1699011781; bh=COzeTtt/oT3cTy/i7MUnUtz64XgOpYTzoGtZWhIvRJQ=; h=From:To:Cc:Subject:Date:From; b=GTWq6IRj6R8KgCWDxsuPaTHD+t0yLYfPLT/MdVPyQIZG7lE5TQa/alopSdJFNlN/k PNAwbfiyjHBU7vwdLqhu+I0y+w/chac0BAYHN1vsD7t3dC0wL6moWtte8YTEEg0YDO +UdYDzBIskw52OCud6TasNvmCocYW0DcapjxYgL0= X-Riseup-User-ID: E2464CBEDD2201B50682C719F6E9A98C05FC08E352D2C0FB6703F80CE7B93AEA Received: from [127.0.0.1] (localhost [127.0.0.1]) by fews02-sea.riseup.net (Postfix) with ESMTPSA id 4SMJl10w64zFpsR; Fri, 3 Nov 2023 11:42:36 +0000 (UTC) From: Dang Huynh To: Dang Huynh Cc: Nikita Travkin , Pavel Machek , Lee Jones , linux-leds@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH] leds: aw2013: Select REGMAP_I2C Date: Fri, 3 Nov 2023 18:42:03 +0700 Message-ID: <20231103114203.1108922-1-danct12@riseup.net> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-0.9 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on groat.vger.email Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (groat.vger.email [0.0.0.0]); Fri, 03 Nov 2023 04:43:29 -0700 (PDT) The AW2013 driver uses devm_regmap_init_i2c, so REGMAP_I2C needs to be selected. Otherwise build process may fail with: ld: drivers/leds/leds-aw2013.o: in function `aw2013_probe': leds-aw2013.c:345: undefined reference to `__devm_regmap_init_i2c' Signed-off-by: Dang Huynh --- drivers/leds/Kconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/leds/Kconfig b/drivers/leds/Kconfig index b92208eccdea..3132439f99e0 100644 --- a/drivers/leds/Kconfig +++ b/drivers/leds/Kconfig @@ -110,6 +110,7 @@ config LEDS_AW200XX config LEDS_AW2013 tristate "LED support for Awinic AW2013" depends on LEDS_CLASS && I2C && OF + select REGMAP_I2C help This option enables support for the AW2013 3-channel LED driver. -- 2.42.0