command: Remove the cmd_tbl_t typedef
[oweals/u-boot.git] / drivers / net / e1000.c
index 7e98449cfa2dd8b861a9e327566b0ace4e00ea4a..82b1db3fb32677cb5fc1b1b9069761d1905d90c2 100644 (file)
@@ -30,6 +30,7 @@ tested on both gig copper and gig fiber boards
  */
 
 #include <common.h>
+#include <command.h>
 #include <cpu_func.h>
 #include <dm.h>
 #include <errno.h>
@@ -5761,8 +5762,8 @@ struct e1000_hw *e1000_find_card(unsigned int cardnum)
 #endif /* !CONFIG_DM_ETH */
 
 #ifdef CONFIG_CMD_E1000
-static int do_e1000(cmd_tbl_t *cmdtp, int flag,
-               int argc, char * const argv[])
+static int do_e1000(struct cmd_tbl *cmdtp, int flag, int argc,
+                   char *const argv[])
 {
        unsigned char *mac = NULL;
 #ifdef CONFIG_DM_ETH