mtd: sf: Drop plat from sf_probe
[oweals/u-boot.git] / drivers / power / twl4030.c
index 42c9001518bff67a4fdbaabd48632ff08f449e59..b0d5cba2c49a9268d314f0ad670babf714ccae9c 100644 (file)
@@ -22,7 +22,9 @@
  *     Syed Mohammed Khasim <khasim at ti.com>
  */
 
+#include <command.h>
 #include <twl4030.h>
+#include <linux/delay.h>
 
 /*
  * Power Reset
@@ -172,7 +174,7 @@ void twl4030_power_mmc_init(int dev_index)
 }
 
 #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[])
 {
        twl4030_power_off();