command: Remove the cmd_tbl_t typedef
[oweals/u-boot.git] / board / freescale / common / sys_eeprom.c
index c487e3a515f36f23c414ffe6d5003f6972e09238..b3421052a5813475c5a3a4f1ccb5111c4e81cf0f 100644 (file)
@@ -10,6 +10,7 @@
 #include <command.h>
 #include <env.h>
 #include <i2c.h>
+#include <init.h>
 #include <linux/ctype.h>
 #include <u-boot/crc.h>
 
@@ -382,7 +383,7 @@ static void set_mac_address(unsigned int index, const char *string)
        update_crc();
 }
 
-int do_mac(cmd_tbl_t *cmdtp, int flag, int argc, char * const argv[])
+int do_mac(struct cmd_tbl *cmdtp, int flag, int argc, char *const argv[])
 {
        char cmd;