command: Remove the cmd_tbl_t typedef
[oweals/u-boot.git] / board / corscience / tricorder / tricorder-eeprom.c
index 23c2ea91862bc638ee5bf0e863e9b00d5db5779c..192af304d9fbad57577f2b016a18a337645d7815 100644 (file)
@@ -5,6 +5,7 @@
  * Andreas Bießmann <andreas.biessmann@corscience.de>
  */
 #include <common.h>
+#include <command.h>
 #include <eeprom.h>
 #include <i2c.h>
 #include <u-boot/crc.h>
@@ -186,7 +187,7 @@ int tricorder_eeprom_write(unsigned devaddr, const char *name,
        return ret;
 }
 
-int do_tricorder_eeprom(cmd_tbl_t *cmdtp, int flag, int argc, char *argv[])
+int do_tricorder_eeprom(struct cmd_tbl *cmdtp, int flag, int argc, char *argv[])
 {
        if (argc == 3) {
                ulong dev_addr = simple_strtoul(argv[2], NULL, 16);