summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohns Daniel <jdaniel@computer.org>2009-03-14 10:03:51 -0500
committerGreg Kroah-Hartman <gregkh@suse.de>2009-03-23 14:55:29 -0700
commitf16b678a669cdd1cfb7488144c4af924a24e244b (patch)
tree918cf6192e58739cd98ca88ff7fe85695a46466e
parent7492cd458092b19ac488c36a5287c2904490c214 (diff)
downloadlinux-stable-f16b678a669cdd1cfb7488144c4af924a24e244b.tar.gz
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 <johns.daniel@gmail.com> Acked-by: Grant Likely <grant.likely@secretlab.ca> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
-rw-r--r--arch/powerpc/sysdev/fsl_soc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/powerpc/sysdev/fsl_soc.c b/arch/powerpc/sysdev/fsl_soc.c
index 26ecb96f9731..507fc15933ae 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;