Received: by 10.223.185.116 with SMTP id b49csp1123198wrg; Fri, 23 Feb 2018 12:19:51 -0800 (PST) X-Google-Smtp-Source: AH8x226mryxH0Y43MfFFj/TTsI2gNzicmhGAq+xKlk58rJpHX27TT5KXPVRdpGzEbbHDglHAKN+H X-Received: by 10.99.125.19 with SMTP id y19mr2258853pgc.285.1519417191091; Fri, 23 Feb 2018 12:19:51 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1519417191; cv=none; d=google.com; s=arc-20160816; b=VQ2SLyrds+g0jJtjL/IHLwI66qzPaavyeIHxlSLVTLkA3Hee+h22CTVaBoggaVU7Pd ewYqb0pJ2FkkomonlO/YKx0JOsZY/kiTANzexT++md7u4NYdT9gGHzFtcFziUhF6sL9b TBOkm/uXIunpsoVGv0NhmcsDbMnshM+naEVKUore6uc0y1yaJlIFdCHGGz0Svd+z20oy voB4OdSIaU4Xrxb5touv9jmRCzoWEbZQzF9NQ93JtrOfz2Cuq4aQrSAelweWwENqg8KI OAfiAqGPd7dQPDOMZIaU9XcU8udTCzCpHk4w7em+hP15jEPg3LxW72bd7BA8XXuWio8v bQ3Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:user-agent:references :in-reply-to:message-id:date:subject:cc:to:from :arc-authentication-results; bh=MuWEnTap80HOa8ekPmJT4mnpz3vfcU+QXVtFllqVzLk=; b=cEjs6kS8xJrIZ1NP2NsurkscoQHsP4RACMApDzDeD/peqDqhSeghsQnIMP3FMFDeed T2wRTScmaTLFYpaUIR32ggbOxOSxeO5kFtpdlcnbBWV05YKeqcaFvX8+4hIiB8nSrMGJ g2T3H+bAE2uaD/tyO+Qqic7fMVQdROJc4HgeZ6rnpTNsZbK8ivxvROvyrIf3Od1Qfubn DQ1lMHNUAPBwkJwew0/y30+JnNkRQxWe7CdxDaX7bAoTNMjZis8uYKIOP/Ks6VeZRd7O YnVfyESV+tffGHSUP1beiDTwIxJhQhf+rAsxCBlLN8swngIIRQXwg2Jdinc1HICKuNdp OtPQ== 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 n6-v6si2242087plp.562.2018.02.23.12.19.36; Fri, 23 Feb 2018 12:19:51 -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 S1755259AbeBWUTA (ORCPT + 99 others); Fri, 23 Feb 2018 15:19:00 -0500 Received: from mail.linuxfoundation.org ([140.211.169.12]:39794 "EHLO mail.linuxfoundation.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932523AbeBWSjo (ORCPT ); Fri, 23 Feb 2018 13:39:44 -0500 Received: from localhost (LFbn-1-12258-90.w90-92.abo.wanadoo.fr [90.92.71.90]) by mail.linuxfoundation.org (Postfix) with ESMTPSA id 534F11182; Fri, 23 Feb 2018 18:39:43 +0000 (UTC) From: Greg Kroah-Hartman To: linux-kernel@vger.kernel.org, stable@vger.kernel.org Cc: Greg Kroah-Hartman , Arnd Bergmann Subject: [PATCH 4.4 149/193] Revert "power: bq27xxx_battery: Remove unneeded dependency in Kconfig" Date: Fri, 23 Feb 2018 19:26:22 +0100 Message-Id: <20180223170349.259649068@linuxfoundation.org> X-Mailer: git-send-email 2.16.2 In-Reply-To: <20180223170325.997716448@linuxfoundation.org> References: <20180223170325.997716448@linuxfoundation.org> User-Agent: quilt/0.65 X-stable: review MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 4.4-stable review patch. If anyone has any objections, please let me know. ------------------ From: Arnd Bergmann 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 Signed-off-by: Greg Kroah-Hartman --- drivers/power/Kconfig | 1 + 1 file changed, 1 insertion(+) --- 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.