command: Remove the cmd_tbl_t typedef
[oweals/u-boot.git] / drivers / firmware / psci.c
index 394f30fa886d798993f7cc999b23359e3d07d6e9..572abfa536f06dfe85a5d216f91ce9a13b659892 100644 (file)
@@ -7,6 +7,7 @@
  */
 
 #include <common.h>
+#include <command.h>
 #include <dm.h>
 #include <irq_func.h>
 #include <dm/lists.h>
@@ -131,7 +132,7 @@ void reset_misc(void)
 #endif /* CONFIG_PSCI_RESET */
 
 #ifdef CONFIG_CMD_POWEROFF
-int do_poweroff(cmd_tbl_t *cmdtp, int flag, int argc, char * const argv[])
+int do_poweroff(struct cmd_tbl *cmdtp, int flag, int argc, char *const argv[])
 {
        do_psci_probe();