From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from coco.kroah.org (kroah.org [198.145.64.141]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client CN "coco.kroah.org", Issuer "Greg KH" (not verified)) by ozlabs.org (Postfix) with ESMTPS id 7F788DDE0E for ; Sat, 21 Mar 2009 10:24:56 +1100 (EST) Message-Id: <20090320222928.729556895@mini.kroah.org> Date: Fri, 20 Mar 2009 15:28:47 -0700 From: Greg KH To: linux-kernel@vger.kernel.org, stable@kernel.org, greg@kroah.com Subject: [patch 37/43] powerpc: Remove extra semicolon in fsl_soc.c References: <20090320222810.386844059@mini.kroah.org> In-Reply-To: <20090320232116.GA3375@kroah.com> Cc: Theodore Ts'o , Zwane Mwaikambo , Johns Daniel , Eugene Teo , Justin Forbes , Domenico Andreoli , Chris Wedgwood , Jake Edge , linuxppc-dev@ozlabs.org, Randy Dunlap , Michael Krufky , alan@lxorguk.ukuu.org.uk, Chuck Ebbert , Dave Jones , Chuck Wolber , akpm@linux-foundation.org, afleming@freescale.com, torvalds@linux-foundation.org, Willy Tarreau , Rodrigo Rubira Branco List-Id: Linux on PowerPC Developers Mail List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , 2.6.28-stable review patch. If anyone has any objections, please let us know. ------------------ From: Johns Daniel TSEC/MDIO will not work with older device trees because of a semicolon at the end of a macro resulting in an empty for loop body. This fix only applies to 2.6.28; this code is gone in 2.6.29, according to Grant Likely! Signed-off-by: Johns Daniel Acked-by: Grant Likely Signed-off-by: Greg Kroah-Hartman --- arch/powerpc/sysdev/fsl_soc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) --- a/arch/powerpc/sysdev/fsl_soc.c +++ b/arch/powerpc/sysdev/fsl_soc.c @@ -257,7 +257,7 @@ static int __init gfar_mdio_of_init(void gfar_mdio_of_init_one(np); /* try the deprecated version */ - for_each_compatible_node(np, "mdio", "gianfar"); + for_each_compatible_node(np, "mdio", "gianfar") gfar_mdio_of_init_one(np); return 0;