blackfin: Add <asm/clock.h> to numerous drivers
[platform/kernel/u-boot.git] / common / cmd_otp.c
index eb93eb2..67808aa 100644 (file)
@@ -18,6 +18,7 @@
 #include <command.h>
 
 #include <asm/blackfin.h>
+#include <asm/clock.h>
 #include <asm/mach-common/bits/otp.h>
 
 static const char *otp_strerror(uint32_t err)
@@ -89,7 +90,7 @@ int do_otp(cmd_tbl_t *cmdtp, int flag, int argc, char * const argv[])
 
        if (argc < 4) {
  usage:
-               return cmd_usage(cmdtp);
+               return CMD_RET_USAGE;
        }
 
        prompt_user = false;