From patchwork Tue Feb 20 11:54:49 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Arnd Bergmann X-Patchwork-Id: 128875 Delivered-To: patch@linaro.org Received: by 10.46.124.24 with SMTP id x24csp4553426ljc; Tue, 20 Feb 2018 03:58:14 -0800 (PST) X-Google-Smtp-Source: AH8x225SXxc+T4H9WU8lHHiI92lEaQV0EV+zPuIBy8IMP+iJeXHnJGIDC6N7efvJDVZw0kWoQEzW X-Received: by 2002:a17:902:68cb:: with SMTP id x11-v6mr17195226plm.198.1519127894744; Tue, 20 Feb 2018 03:58:14 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1519127894; cv=none; d=google.com; s=arc-20160816; b=Ivc+bHgxRi4RUQSglft7X1OwLjl2/ssQxiFevVuyzgzw/Z9zBrOHvavM4ETPa6p4x3 wQizYuwh0Z3DIYb3NsIByy9mwIH95uF8Yv1j0DbqIP6B8IyhLa/GILnxQBnd42z12clp dQVuySwD6wp2/Y+H0QdRLYGeIzYwxGk0IsG1YMNqEkn59COssp+HBSYtIqMecJmsC4Ue YCSORw+dRPjqdH2du259T7E4p9dtcyxEzKr1P9809pHcdgHh5mMT9003SVO1SV6f+YFT gK5Agj/eZ+6WpytGYlJWQPpB7QBiqzMXH5sZJHJvhttQHKYwD4gMJvS4O+VqszVrW+PH dMiA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:references:in-reply-to:message-id:date :subject:cc:to:from:arc-authentication-results; bh=NJpLM2intY1Vs+vRx7qqXZsYvbqX6zZ/N19Kx12V7Nc=; b=luEgCuIfULC4tJb/8prkOLAwlYxfAm9/CKY0QztUpZq5ppdSVkuTlVVD5Ki7maU9bM yAp6R9iMqtZwc3RiGpEBfGvetNneK9I29U1XRb35pn2hNebjOmMW5/y+rwhuy/wE0SOD HvgHr+ISNwcEk5Hiu2xCvpUQGyJuO0MJKrwayuq94bKJbZzL54IYjzmjASUOHvSWm/xE Ml3dtIixLfBDfedrPJu7QEzCHtt8/YiDys+T6ZMzVNN/GP0rcwSrZtZKjMRUB8o1k1OC vlaRUqAgPBhb9sg3c/AghtacD1mEVXg2LTZXNyUoskTcpvNea/7ueaEyVUtajXz9oPdg afGA== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id 31-v6si5588483plk.532.2018.02.20.03.58.13; Tue, 20 Feb 2018 03:58:14 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751790AbeBTL6K (ORCPT + 28 others); Tue, 20 Feb 2018 06:58:10 -0500 Received: from mout.kundenserver.de ([217.72.192.75]:37191 "EHLO mout.kundenserver.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751734AbeBTL6F (ORCPT ); Tue, 20 Feb 2018 06:58:05 -0500 Received: from wuerfel.lan ([95.208.111.237]) by mrelayeu.kundenserver.de (mreue105 [212.227.15.145]) with ESMTPA (Nemesis) id 0MTP5b-1fEKP03No7-00SRQw; Tue, 20 Feb 2018 12:57:45 +0100 From: Arnd Bergmann To: stable@vger.kernel.org Cc: Greg KH , linux-kernel@vger.kernel.org, Arnd Bergmann , Sebastian Reichel , Dmitry Eremin-Solenikov , David Woodhouse , linux-pm@vger.kernel.org Subject: [4.4-stable 02/22] Revert "power: bq27xxx_battery: Remove unneeded dependency in Kconfig" Date: Tue, 20 Feb 2018 12:54:49 +0100 Message-Id: <20180220115527.1806578-3-arnd@arndb.de> X-Mailer: git-send-email 2.9.0 In-Reply-To: <20180220115527.1806578-1-arnd@arndb.de> References: <20180220115527.1806578-1-arnd@arndb.de> X-Provags-ID: V03:K0:fllPO80jCZ+F54OUmU7MR6OWSYE1PbE5z1RJMQBnV4lbPB5twQl soTb9z8qXgDSs6fAxJHniVtjjmDhSr74hM9i/apWqNxbAi0k/s1/kOUq6gCGrxM4eRpyiS9 TGUZJNVFzEmBTwQpWQbyAhDnxtEqFnPtvPm75RoUttb90XXTdufel1+/zuoUXh/fNsjAqW8 fjWv8IBKIP+up8CdKlt/Q== X-UI-Out-Filterresults: notjunk:1; V01:K0:ZtlU2u5vjFo=:0dHbBF3twp7uwfZYaobd2W 5QO50GSdiFMjvwx5Ok5pPrGewi+6UuCcquwoYDlB+fu3Bvun7oeMT9vyo1l3VCkzrlZQ44xD2 D/K+T1Dyk/aOGbQM20mcCuQ/RP/CMkazJD8hv920nRVll0aiGKo6Wj/B9Bq1reDUOngG24wWK XtFZdWI9UOrR5/CJLeK0sVMe6by0GXBNz5s/QSKGzTrw6MSFAgpQ32Du5HPfD+MEFcTkNQVa7 oXJitSShE13QSQ0OUmCtN4SWXyj4N66w7q8XEQ6dPXuLpVdSClQQ4/UOoYeZKy4WgBqK04TtX piclhSikUzL6QfFsHWzwZGmwNvtshX0h57yvMQYXZOYEkQEZMSvE+MjuUxet9rI6Kpup4P52N 6Hf14BZ9taIIFVxSYFfgBcb0WcbAla7YYk0LrkjTHjrI1uLx/t0aCYRqTcP1PszBAyHt80nCr 4U0/TXEg8erygbgoCyzZ8qEYpldYRkrnru6sTIreGAtTING24PHDE3LoI6J9DCi3y3ck02y4C OA0XBzyEB5N8IGaP5ZMe51XHcnpYgpUrfH3bY2+9zQ8fKncuD5eHJWCKTuwn433/KkuyBbD8l k0DFJrXz9EdhLUVkdIzqa2tdTs6+u22ueioiIFoGND3enfbxPb8i4qQ3SeKRCn1qbB+gMtwbU A5fjK0K+sCYqp5ojkQpUbEL1IrgNFME1TCFZ1T3ALnKF4ExTRxq8juE5sXuN0T8qyf6ZbtLmc vqOVFj29RafvuOe5oeegA00308jEiPdvzp+E2w== Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org This reverts commit 6bd03ce3c12a22d86f59070f1da15aaa2bde8a51, it was applied in error and cuased this link failure drivers/built-in.o: In function `bq27xxx_battery_i2c_read': core.c:(.text+0xa6da8): undefined reference to `i2c_transfer' drivers/built-in.o: In function `bq27xxx_battery_init': core.c:(.init.text+0x68e0): undefined reference to `i2c_register_driver' drivers/built-in.o: In function `bq27xxx_battery_exit': core.c:(.exit.text+0xc6c): undefined reference to `i2c_del_driver' Later upstream kernels fixed this with a larger rework in commit 703df6c09795 ("power: bq27xxx_battery: Reorganize I2C into a module"), but we cannot backport that to 4.4. Signed-off-by: Arnd Bergmann --- drivers/power/Kconfig | 1 + 1 file changed, 1 insertion(+) -- 2.9.0 diff --git a/drivers/power/Kconfig b/drivers/power/Kconfig index 237d7aa73e8c..9f53fb74ae6f 100644 --- a/drivers/power/Kconfig +++ b/drivers/power/Kconfig @@ -159,6 +159,7 @@ config BATTERY_SBS config BATTERY_BQ27XXX tristate "BQ27xxx battery driver" + depends on I2C || I2C=n help Say Y here to enable support for batteries with BQ27xxx (I2C/HDQ) chips.