From: Tom Rix <Tom.Rix@windriver.com>
To: u-boot@lists.denx.de
Subject: [U-Boot] [PATCH 2/2] OMAP3 Fix compiler warning for get_device_type
Date: Mon, 6 Jul 2009 11:47:59 -0500 [thread overview]
Message-ID: <1246898879-6567-3-git-send-email-Tom.Rix@windriver.com> (raw)
In-Reply-To: <1246898879-6567-2-git-send-email-Tom.Rix@windriver.com>
When MAKEALL arm is run, the omap3 board *.ERR files contains this
warning
cpu.c: In function 'cleanup_before_linux':
cpu.c:64: warning: implicit declaration of function 'get_device_type'
To fix this warning, use the declaration of get_device_type
in sys_proto.h
Signed-off-by: Tom Rix <Tom.Rix@windriver.com>
---
cpu/arm_cortexa8/cpu.c | 3 +++
1 files changed, 3 insertions(+), 0 deletions(-)
diff --git a/cpu/arm_cortexa8/cpu.c b/cpu/arm_cortexa8/cpu.c
index 7f57ee9..ab59ab0 100644
--- a/cpu/arm_cortexa8/cpu.c
+++ b/cpu/arm_cortexa8/cpu.c
@@ -35,6 +35,9 @@
#include <command.h>
#include <asm/system.h>
#include <asm/cache.h>
+#ifndef CONFIG_L2_OFF
+#include <asm/arch/sys_proto.h>
+#endif
static void cache_flush(void);
--
1.6.0.5
next prev parent reply other threads:[~2009-07-06 16:47 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-07-06 16:47 [U-Boot] V2 remove omap3 compiler warning wrt v7_flush_dcache_all Tom Rix
2009-07-06 16:47 ` [U-Boot] [PATCH 1/2] ARM Cortex8 Rename and move v7_flush_dcache_all to flush_dcache Tom Rix
2009-07-06 16:47 ` Tom Rix [this message]
2009-07-06 17:34 ` Woodruff, Richard
2009-07-07 2:57 ` Tom
2009-07-07 20:31 ` Jean-Christophe PLAGNIOL-VILLARD
2009-07-07 20:44 ` Tom
2009-07-07 21:20 ` Jean-Christophe PLAGNIOL-VILLARD
2009-08-08 9:47 ` Wolfgang Denk
2009-08-08 13:40 ` Tom
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1246898879-6567-3-git-send-email-Tom.Rix@windriver.com \
--to=tom.rix@windriver.com \
--cc=u-boot@lists.denx.de \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox