command: Remove the cmd_tbl_t typedef
[oweals/u-boot.git] / board / freescale / common / pixis.c
index e9b71278333be8df61d2ffda606cdb8f840723c1..4127fbc1396c979cc55847472a3c8ddff0ce0d22 100644 (file)
@@ -266,8 +266,8 @@ static void set_px_go_with_watchdog(void)
 /* Disable the watchdog
  *
  */
-static int pixis_disable_watchdog_cmd(cmd_tbl_t *cmdtp, int flag, int argc,
-                                     char * const argv[])
+static int pixis_disable_watchdog_cmd(struct cmd_tbl *cmdtp, int flag, int argc,
+                                     char *const argv[])
 {
        /* Disable the VELA sequencer and the watchdog */
        clrbits_8(pixis_base + PIXIS_VCTL, 9);
@@ -285,7 +285,8 @@ U_BOOT_CMD(
 
 /* Enable or disable SGMII mode for a TSEC
  */
-static int pixis_set_sgmii(cmd_tbl_t *cmdtp, int flag, int argc, char * const argv[])
+static int pixis_set_sgmii(struct cmd_tbl *cmdtp, int flag, int argc,
+                          char *const argv[])
 {
        int which_tsec = -1;
        unsigned char mask;
@@ -411,7 +412,8 @@ static unsigned long strfractoint(char *strptr)
        return intval + decval;
 }
 
-static int pixis_reset_cmd(cmd_tbl_t *cmdtp, int flag, int argc, char * const argv[])
+static int pixis_reset_cmd(struct cmd_tbl *cmdtp, int flag, int argc,
+                          char *const argv[])
 {
        unsigned int i;
        char *p_cf = NULL;