summaryrefslogtreecommitdiff
path: root/board/mpl/vcma9
diff options
context:
space:
mode:
authorWolfgang Denk <wd@denx.de>2007-09-15 20:48:41 +0200
committerWolfgang Denk <wd@denx.de>2007-09-15 20:48:41 +0200
commit1218abf1b5817a39a82399b4b928b00750575bda (patch)
treeeea14f9a563edd02bbc62b8aa493efd270044485 /board/mpl/vcma9
parent66b3f24d665be678a9dbb125b1e84185400f63b5 (diff)
Fix cases where DECLARE_GLOBAL_DATA_PTR was not declared as global
Signed-off-by: Wolfgang Denk <wd@denx.de>
Diffstat (limited to 'board/mpl/vcma9')
-rw-r--r--board/mpl/vcma9/cmd_vcma9.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/board/mpl/vcma9/cmd_vcma9.c b/board/mpl/vcma9/cmd_vcma9.c
index 44b41125546..227c49272ce 100644
--- a/board/mpl/vcma9/cmd_vcma9.c
+++ b/board/mpl/vcma9/cmd_vcma9.c
@@ -40,6 +40,8 @@ static uchar cs8900_chksum(ushort data)
#endif
+DECLARE_GLOBAL_DATA_PTR;
+
extern void print_vcma9_info(void);
extern int vcma9_cantest(int);
extern int vcma9_nandtest(void);
@@ -53,8 +55,6 @@ extern int do_mplcommon(cmd_tbl_t *cmdtp, int flag, int argc, char *argv[]);
int do_vcma9(cmd_tbl_t *cmdtp, int flag, int argc, char *argv[])
{
- DECLARE_GLOBAL_DATA_PTR;
-
if (strcmp(argv[1], "info") == 0)
{
print_vcma9_info();