Received: by 2002:a05:7412:37c9:b0:e2:908c:2ebd with SMTP id jz9csp944482rdb; Tue, 19 Sep 2023 15:26:58 -0700 (PDT) X-Google-Smtp-Source: AGHT+IHYyp2JtZCr6xB6w7MDu1RIa/wkxjJK42rCkAQh3K18GwDPHHjrEwqK7KvsAf0kHjR4dliC X-Received: by 2002:a05:6358:430c:b0:142:fd2b:da2e with SMTP id r12-20020a056358430c00b00142fd2bda2emr947315rwc.31.1695162418452; Tue, 19 Sep 2023 15:26:58 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1695162418; cv=none; d=google.com; s=arc-20160816; b=S5Kxjp5nrBKzu7c9MvcsilnDyavGDhn5erpBOnArJd1QNNCTBuh4VxfBg8Tvy79gXJ Vd8ItGVF9jr2uuDhPJuUR70VLZiKvZC0RQlrZg/kqJVEJ5K5cIs83Kr9OQxuSq3tUUjp bY8vZOv8JWseSVs30IiW++ykJp6EpPJ5gEdqe47Fl36MlCcoCVK96R7Ffhz/VClJWXUC 2qpglx4EzggcWu7TQZQQhn4HGNQr1jRI3M3lb4lCaUnLogDDtMTYzUhfKU04WWR89YqG z3LMbbX1p3YTja8K818RDU2tcrNF6a53SiNPn7V11LJSwsKn7Czd55+wx8Cg9aK9pRBw 6clg== 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:date :message-id:subject:references:in-reply-to:cc:to:from:dkim-signature; bh=3/4oYGj6IRrhXHFS1W18OnPMt5X7H1XQTW3uVCyumTc=; fh=kPJjMh68qUuE8aoM5DA5RQSNFiFd48dCkg78bqHKcrY=; b=v8yKKtlZCp7FzwvHxWuYPY59cXxqhdZ/OSUnXmqVh2pvTRbTegeekd0NEG7vldEjWM nu2oRCWBKqGwnWob4Ufd4borsCk2yQ+Yg0FJlCZaPeILr5ymh7L6PGS9VaBf6ObR9BT3 cUahXIHigDgO2Lf8j00twrP38dqmjNxpBRcpbE8ffdoarC4hHW6ujaD2nZ0HGdoO3Xhy nBRSaHV2yWomcrAKSJcoL/T5u+LBVKizX7lawAiPC9wBBxNKnrDa9Ar/qZdcs4WPmaiB zH5XMjf7tD+67jxnFz3hR3mXQ4EQZW3ijA2a78aqPVRcp/fYYe9bFuHtgO7sRWyG1sOE mArQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@collabora.com header.s=mail header.b=RN8gevYL; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.37 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=collabora.com Return-Path: Received: from snail.vger.email (snail.vger.email. [23.128.96.37]) by mx.google.com with ESMTPS id m187-20020a6326c4000000b0056679c8e70csi10153171pgm.272.2023.09.19.15.26.57 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 19 Sep 2023 15:26:58 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.37 as permitted sender) client-ip=23.128.96.37; Authentication-Results: mx.google.com; dkim=pass header.i=@collabora.com header.s=mail header.b=RN8gevYL; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.37 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=collabora.com Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by snail.vger.email (Postfix) with ESMTP id 74C7F802D519; Mon, 18 Sep 2023 15:46:01 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at snail.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229932AbjIRWqC (ORCPT + 99 others); Mon, 18 Sep 2023 18:46:02 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:39748 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229534AbjIRWqB (ORCPT ); Mon, 18 Sep 2023 18:46:01 -0400 Received: from madras.collabora.co.uk (madras.collabora.co.uk [IPv6:2a00:1098:0:82:1000:25:2eeb:e5ab]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 1E909A4; Mon, 18 Sep 2023 15:45:42 -0700 (PDT) Received: from mercury (dyndsl-091-248-188-252.ewe-ip-backbone.de [91.248.188.252]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) (Authenticated sender: sre) by madras.collabora.co.uk (Postfix) with ESMTPSA id 50E09660716C; Mon, 18 Sep 2023 23:45:40 +0100 (BST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=collabora.com; s=mail; t=1695077140; bh=mOg55t4zvHvyfb/la24WLWBUuXyIqC8RacSuosSLqRk=; h=From:To:Cc:In-Reply-To:References:Subject:Date:From; b=RN8gevYLEnooD2ecaVFFm9ejemdynVjNDsaVQN3x3v56we/uhVJJhu1iyX5hBGOdX QUpHh9E3HGALgRVVOCuENmriEgXbH73cfnISBr7L/m7jT0N2zlnXp1XH0HMKKJrKEt o5KiZc8E5u9QALJVyn5MoidGAQNuSmYykmWNYLDjGvU5huMtVtgkFjCQrTC31wiZDO YE/mSKmVzy0avcx9ZcNA0++tpGYHbtOoMgzv0ZN1W7DtitbdB3fREIpH8H2DmZ20Zr XPWihbl8KvXHef+KQy1QJwPGHidNwR0OFwTC3IDSxFfxhScV4qaqJfnNLMdwrcwzpL Z/dfefqFrgMnw== Received: by mercury (Postfix, from userid 1000) id AFBFB106098F; Tue, 19 Sep 2023 00:45:37 +0200 (CEST) From: Sebastian Reichel To: linux-kernel@vger.kernel.org, Randy Dunlap Cc: Nikita Travkin , Sebastian Reichel , linux-pm@vger.kernel.org In-Reply-To: <20230918205825.25864-1-rdunlap@infradead.org> References: <20230918205825.25864-1-rdunlap@infradead.org> Subject: Re: [PATCH] power: supply: pm8916_lbc: observe EXTCON config setting Message-Id: <169507713770.1098783.11759491213013567471.b4-ty@collabora.com> Date: Tue, 19 Sep 2023 00:45:37 +0200 MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit X-Mailer: b4 0.12.3 X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,SPF_HELO_NONE,SPF_PASS autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net 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 (snail.vger.email [0.0.0.0]); Mon, 18 Sep 2023 15:46:01 -0700 (PDT) On Mon, 18 Sep 2023 13:58:25 -0700, Randy Dunlap wrote: > When CONFIG_EXTCON=m and CONFIG_CHARGER_PM8916_LBC=y, there are > build errors. Fix them by having CHARGER_PM8916_LBC depend on the > setting of EXTCON. > > aarch64-linux-ld: drivers/power/supply/pm8916_lbc.o: in function `pm8916_lbc_charger_state_changed_irq': > pm8916_lbc.c:(.text+0xe8): undefined reference to `extcon_set_state_sync' > aarch64-linux-ld: drivers/power/supply/pm8916_lbc.o: in function `pm8916_lbc_charger_probe': > pm8916_lbc.c:(.text+0x638): undefined reference to `devm_extcon_dev_allocate' > aarch64-linux-ld: pm8916_lbc.c:(.text+0x650): undefined reference to `devm_extcon_dev_register' > aarch64-linux-ld: pm8916_lbc.c:(.text+0x688): undefined reference to `extcon_set_state_sync' > > [...] Applied, thanks! [1/1] power: supply: pm8916_lbc: observe EXTCON config setting commit: a6c6a5fe2a08172c2e045588531f0e05a6c296cf Best regards, -- Sebastian Reichel