From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from nommos.sslcatacombnetworking.com (nommos.sslcatacombnetworking.com [67.18.224.114]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by ozlabs.org (Postfix) with ESMTP id E3E88DDF86 for ; Wed, 14 Feb 2007 06:01:53 +1100 (EST) In-Reply-To: <45D208CB.9000407@freescale.com> References: <11710513671236-git-send-email-timur@freescale.com> <45CCDEFB.5050504@ru.mvista.com> <45CCDFBC.1090104@freescale.com> <45CCE07F.9040107@ru.mvista.com> <45D1F46C.4050901@freescale.com> <5B1BBAE9-00FC-454B-8855-7D362DF59850@kernel.crashing.org> <45D1F92B.3000000@freescale.com> <774F090A-27E6-4271-ABFE-FBFA7855D5AD@kernel.crashing.org> <45D208CB.9000407@freescale.com> Mime-Version: 1.0 (Apple Message framework v752.2) Content-Type: text/plain; charset=US-ASCII; delsp=yes; format=flowed Message-Id: From: Kumar Gala Subject: Re: [PATCH] Check mac-address first in fsl_soc.c Date: Tue, 13 Feb 2007 13:01:12 -0600 To: Timur Tabi Cc: linuxppc-dev@ozlabs.org, paulus@samba.org List-Id: Linux on PowerPC Developers Mail List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , On Feb 13, 2007, at 12:51 PM, Timur Tabi wrote: > Kumar Gala wrote: > >>> If you still want null_mac_addr[], you would need to do this: >>> >>> static const u8 null_mac_addr[6] = { 0 }; >> Let's drop the static const part. > > Ok. > > Now all I need to do is fix this error, that has nothing to do with > my changes: > > arch/powerpc/sysdev/fsl_soc.c: In function 'gfar_of_init': > arch/powerpc/sysdev/fsl_soc.c:305: warning: ISO C90 forbids mixed > declarations and code > arch/powerpc/sysdev/fsl_soc.c:308: error: invalid storage class for > function 'fsl_i2c_of_init' > arch/powerpc/sysdev/fsl_soc.c:361: error: initializer element is > not constant > arch/powerpc/sysdev/fsl_soc.c:365: error: invalid storage class for > function 'mpc83xx_wdt_init' > arch/powerpc/sysdev/fsl_soc.c:423: error: initializer element is > not constant > arch/powerpc/sysdev/fsl_soc.c:427: error: invalid storage class for > function 'determine_usb_phy' > arch/powerpc/sysdev/fsl_soc.c:443: error: invalid storage class for > function 'fsl_usb_of_init' > arch/powerpc/sysdev/fsl_soc.c:586: error: initializer element is > not constant > arch/powerpc/sysdev/fsl_soc.c:586: error: syntax error at end of input > make[1]: *** [arch/powerpc/sysdev/fsl_soc.o] Error 1 > > Looks like someone broke arch_initcall() or something. Odd, what config is this? (powerpc.git or linux.git) Just did a build of my powerpc.git tree w/o this issue. - k