From: Johns Daniel Date: Sat, 14 Mar 2009 15:03:51 +0000 (-0500) Subject: powerpc: Remove extra semicolon in fsl_soc.c X-Git-Tag: v2.6.28.9~8 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f16b678a669cdd1cfb7488144c4af924a24e244b;p=thirdparty%2Fkernel%2Fstable.git powerpc: Remove extra semicolon in fsl_soc.c 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 --- diff --git a/arch/powerpc/sysdev/fsl_soc.c b/arch/powerpc/sysdev/fsl_soc.c index 26ecb96f9731d..507fc15933aee 100644 --- 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;