From patchwork Sat Mar 14 15:03:51 2009 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Johns Daniel X-Patchwork-Id: 24471 Return-Path: X-Original-To: patchwork-incoming@ozlabs.org Delivered-To: patchwork-incoming@ozlabs.org Received: from ozlabs.org (localhost [127.0.0.1]) by ozlabs.org (Postfix) with ESMTP id 02156DE276 for ; Sun, 15 Mar 2009 22:22:11 +1100 (EST) X-Original-To: linuxppc-dev@ozlabs.org Delivered-To: linuxppc-dev@ozlabs.org X-Greylist: delayed 399 seconds by postgrey-1.31 at ozlabs; Sun, 15 Mar 2009 02:10:34 EST Received: from smtp104.sbc.mail.mud.yahoo.com (smtp104.sbc.mail.mud.yahoo.com [68.142.198.203]) by ozlabs.org (Postfix) with SMTP id 36091DE0F8 for ; Sun, 15 Mar 2009 02:10:33 +1100 (EST) Received: (qmail 7211 invoked from network); 14 Mar 2009 15:03:53 -0000 Received: from unknown (HELO ?192.168.1.103?) (jdaniel@71.145.157.8 with plain) by smtp104.sbc.mail.mud.yahoo.com with SMTP; 14 Mar 2009 15:03:52 -0000 X-YMail-OSG: VfZVQwkVM1mzO6CyQaGVZdK7cT4kXUIhGsjqKXbY1ojwuwLNIoyOJmNT0N2h2WO9pV110sob8VuVxEwGP4d_bDRQcwz0852eFirOAgcacIu0_QJ.GsGt1Lofv_2wErrTbvdqz2Vxvv93nEuN8WQTihBinA7epwJy5uyFfLvz35Bso7v6u__Snn3xydhlpxktao8LhsIkP8fSy1HD2IkhD5kJCdS_7g-- X-Yahoo-Newman-Property: ymail-3 Message-ID: <49BBC757.7090001@computer.org> Date: Sat, 14 Mar 2009 10:03:51 -0500 From: Johns Daniel User-Agent: Thunderbird 2.0.0.19 (Windows/20081209) MIME-Version: 1.0 To: greg@kroah.com Subject: [PATCH] powerpc: Remove extra semicolon in fsl_soc.c (2nd try) X-Mailman-Approved-At: Sun, 15 Mar 2009 22:21:48 +1100 Cc: linuxppc-dev@ozlabs.org, afleming@freescale.com, stable@kernel.org X-BeenThere: linuxppc-dev@ozlabs.org X-Mailman-Version: 2.1.11 Precedence: list Reply-To: jdaniel@computer.org List-Id: Linux on PowerPC Developers Mail List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: linuxppc-dev-bounces+patchwork-incoming=ozlabs.org@ozlabs.org Errors-To: linuxppc-dev-bounces+patchwork-incoming=ozlabs.org@ozlabs.org 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 > ====================================== --- linux-2.6.28.7/arch/powerpc/sysdev/fsl_soc.c.orig 2009-02-20 16:41:27.000000000 -0600 +++ linux-2.6.28.7/arch/powerpc/sysdev/fsl_soc.c 2009-03-14 09:01:38.994630400 -0500 @@ -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;