Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755613Ab0FNPMh (ORCPT ); Mon, 14 Jun 2010 11:12:37 -0400 Received: from mail.gmx.net ([213.165.64.20]:56806 "HELO mail.gmx.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with SMTP id S1755143Ab0FNPM1 (ORCPT ); Mon, 14 Jun 2010 11:12:27 -0400 X-Authenticated: #12255092 X-Provags-ID: V01U2FsdGVkX19CNiEil95CZnfc5UMxWqeL4eyFA9f+91HGJWl5as 0AOfcA7hUNLo9M From: Peter Huewe To: Mike Rapoport Subject: Re: [PATCH] power: Rename get_current to fix build failure / name conflict Date: Mon, 14 Jun 2010 17:12:22 +0200 User-Agent: KMail/1.12.4 (Linux/2.6.34; KDE/4.3.5; x86_64; ; ) Cc: Anton Vorontsov , Wolfram Sang , Tejun Heo , Ryan Mallon , linux-kernel@vger.kernel.org, linux-sh@vger.kernel.org, sfr@canb.auug.org.au, Linus Torvalds References: <201005130154.58459.PeterHuewe@gmx.de> <4BEB8DC0.4060808@compulab.co.il> In-Reply-To: <4BEB8DC0.4060808@compulab.co.il> MIME-Version: 1.0 Content-Type: Text/Plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Message-Id: <201006141712.22248.PeterHuewe@gmx.de> X-Y-GMX-Trusted: 0 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1139 Lines: 34 Am Donnerstag 13 Mai 2010 07:27:28 schrieb Mike Rapoport: > Peter Huewe wrote: > > From: Peter Huewe > > > > This patch changes the name of get_current function pointer to > > get_battery_current to resolve a name conflict with the get_current > > macro defined in current.h. > > > > This conflict resulted in a build-failure[1] for the sh4 arch > > allyesconfig which is resolved by this patch. > > > > To be consistent the other function pointers (_voltage,_capacity) were > > renamed too. > > > > Signed-off-by: Peter Huewe > Acked-by: Ryan Mallon > Acked-by: Mike Rapoport Unfortunately this build-failure still exists, in Linux-next and hit Linus' Tree :/ References: http://kisskb.ellerman.id.au/kisskb/buildresult/2709436/ http://kisskb.ellerman.id.au/kisskb/buildresult/2687686/ Thanks, Peter -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/