]> git.karo-electronics.de Git - karo-tx-linux.git/commitdiff
powerpc: Remove extra semicolon in fsl_soc.c
authorJohns Daniel <jdaniel@computer.org>
Sat, 14 Mar 2009 15:03:51 +0000 (10:03 -0500)
committerGreg Kroah-Hartman <gregkh@suse.de>
Mon, 23 Mar 2009 22:00:05 +0000 (15:00 -0700)
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>
arch/powerpc/sysdev/fsl_soc.c

index 214388e11807a039d05a9d6baf4fcf1a25b2f18a..dd1d7ede97c943e553f3bda8289504491a4fc4c9 100644 (file)
@@ -255,7 +255,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;