configs: rpi: set NR_DRAM_BANKS to four
[oweals/u-boot.git] / cmd / setexpr.c
index 0182f1993846cdb4f6d027c6ddf7e6707d7b2d99..770dc24d2b7a32579a05c8aed36b40bc234252b6 100644 (file)
@@ -12,6 +12,7 @@
 #include <config.h>
 #include <command.h>
 #include <env.h>
+#include <log.h>
 #include <mapmem.h>
 
 static ulong get_arg(char *s, int w)
@@ -290,7 +291,8 @@ static int regex_sub(const char *name,
 }
 #endif
 
-static int do_setexpr(cmd_tbl_t *cmdtp, int flag, int argc, char * const argv[])
+static int do_setexpr(struct cmd_tbl *cmdtp, int flag, int argc,
+                     char *const argv[])
 {
        ulong a, b;
        ulong value;