From mboxrd@z Thu Jan 1 00:00:00 1970 From: Ben Warren Date: Wed, 22 Jul 2009 22:55:27 -0700 Subject: [U-Boot] [PATCH] uec: Fix compile warning In-Reply-To: <1245244927-9921-1-git-send-email-galak@kernel.crashing.org> References: <1245244927-9921-1-git-send-email-galak@kernel.crashing.org> Message-ID: <4A67FB4F.1090704@gmail.com> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de Kumar Gala wrote: > cpu.c: In function 'cpu_eth_init': > cpu.c:371: warning: implicit declaration of function 'uec_standard_init' > > Signed-off-by: Kumar Gala > --- > include/netdev.h | 1 + > 1 files changed, 1 insertions(+), 0 deletions(-) > > diff --git a/include/netdev.h b/include/netdev.h > index aed5c4c..92eceb1 100644 > --- a/include/netdev.h > +++ b/include/netdev.h > @@ -50,6 +50,7 @@ int e1000_initialize(bd_t *bis); > int eepro100_initialize(bd_t *bis); > int eth_3com_initialize (bd_t * bis); > int fec_initialize (bd_t *bis); > +int uec_standard_init(bd_t *bis); > int greth_initialize(bd_t *bis); > void gt6426x_eth_initialize(bd_t *bis); > int inca_switch_initialize(bd_t *bis); > I'm not sure why I applied this - the prototype is already there and this is not sorted alphabetically. Anyway, reverted and you shouldn't get the warning. regards, Ben