summaryrefslogtreecommitdiff
path: root/common/cmd_dtt.c
diff options
context:
space:
mode:
Diffstat (limited to 'common/cmd_dtt.c')
-rw-r--r--common/cmd_dtt.c9
1 files changed, 8 insertions, 1 deletions
diff --git a/common/cmd_dtt.c b/common/cmd_dtt.c
index 943b0c73e2..447076c6f5 100644
--- a/common/cmd_dtt.c
+++ b/common/cmd_dtt.c
@@ -24,7 +24,6 @@
#include <common.h>
#include <config.h>
#include <command.h>
-#include <cmd_dtt.h>
#if (CONFIG_COMMANDS & CFG_CMD_DTT)
@@ -46,4 +45,12 @@ int do_dtt (cmd_tbl_t * cmdtp, int flag, int argc, char *argv[])
return 0;
} /* do_dtt() */
+/***************************************************/
+
+cmd_tbl_t U_BOOT_CMD(DTT) = MK_CMD_ENTRY(
+ "dtt", 1, 1, do_dtt,
+ "dtt - Digital Thermometer and Themostat\n",
+ " - Read temperature from digital thermometer and thermostat.\n"
+);
+
#endif /* CONFIG_COMMANDS & CFG_CMD_DTT */