summaryrefslogtreecommitdiff
path: root/common/cmd_dtt.c
diff options
context:
space:
mode:
authorwdenk <wdenk>2003-06-27 21:31:46 +0000
committerwdenk <wdenk>2003-06-27 21:31:46 +0000
commit8bde7f776c77b343aca29b8c7b58464d915ac245 (patch)
tree20f1fd99975215e7c658454a15cdb4ed4694e2d4 /common/cmd_dtt.c
parent993cad9364c6b87ae429d1ed1130d8153f6f027e (diff)
downloadu-boot-odroid-c1-8bde7f776c77b343aca29b8c7b58464d915ac245.tar.gz
* Code cleanup:
- remove trailing white space, trailing empty lines, C++ comments, etc. - split cmd_boot.c (separate cmd_bdinfo.c and cmd_load.c) * Patches by Kenneth Johansson, 25 Jun 2003: - major rework of command structure (work done mostly by Michal Cendrowski and Joakim Kristiansen)
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 */