common: Drop linux/delay.h from common header
[oweals/u-boot.git] / common / hash.c
index 810854ce0f5af382e9cdce6268920daacac296a3..8c00659d252891b631f6299bdae9c789a72cab5d 100644 (file)
@@ -13,6 +13,7 @@
 #include <common.h>
 #include <command.h>
 #include <env.h>
+#include <log.h>
 #include <malloc.h>
 #include <mapmem.h>
 #include <hw_sha.h>
@@ -444,8 +445,8 @@ static void hash_show(struct hash_algo *algo, ulong addr, ulong len, uint8_t *ou
                printf("%02x", output[i]);
 }
 
-int hash_command(const char *algo_name, int flags, cmd_tbl_t *cmdtp, int flag,
-                int argc, char * const argv[])
+int hash_command(const char *algo_name, int flags, struct cmd_tbl *cmdtp,
+                int flag, int argc, char *const argv[])
 {
        ulong addr, len;