diff options
Diffstat (limited to 'drivers/power/twl4030.c')
-rw-r--r-- | drivers/power/twl4030.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/drivers/power/twl4030.c b/drivers/power/twl4030.c index 42c9001518..b0d5cba2c4 100644 --- a/drivers/power/twl4030.c +++ b/drivers/power/twl4030.c @@ -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(); |