]> git.kernelconcepts.de Git - karo-tx-uboot.git/blobdiff - common/cmd_otp.c
sandbox: Add a simple sound driver
[karo-tx-uboot.git] / common / cmd_otp.c
index eb93eb2db986073d257c5d19084035f26ff3d538..67808aa377ef15cdf3059bae08e6bfe8592ca886 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;