projects
/
oweals
/
u-boot.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
command: Remove the cmd_tbl_t typedef
[oweals/u-boot.git]
/
arch
/
arm
/
mach-uniphier
/
mmc-first-dev.c
diff --git
a/arch/arm/mach-uniphier/mmc-first-dev.c
b/arch/arm/mach-uniphier/mmc-first-dev.c
index e2f4f4eb5c7af5760fbfa0b5ac2bf79b74ae1069..7f29b6bccd4643a9e50b2380454c2a6843787a01 100644
(file)
--- a/
arch/arm/mach-uniphier/mmc-first-dev.c
+++ b/
arch/arm/mach-uniphier/mmc-first-dev.c
@@
-5,6
+5,7
@@
*/
#include <common.h>
*/
#include <common.h>
+#include <command.h>
#include <env.h>
#include <mmc.h>
#include <linux/errno.h>
#include <env.h>
#include <mmc.h>
#include <linux/errno.h>
@@
-28,7
+29,8
@@
int mmc_get_env_dev(void)
return find_first_mmc_device(false);
}
return find_first_mmc_device(false);
}
-static int do_mmcsetn(cmd_tbl_t *cmdtp, int flag, int argc, char * const argv[])
+static int do_mmcsetn(struct cmd_tbl *cmdtp, int flag, int argc,
+ char *const argv[])
{
int dev;
{
int dev;
@@
-46,7
+48,8
@@
U_BOOT_CMD(
""
);
""
);
-static int do_sdsetn(cmd_tbl_t *cmdtp, int flag, int argc, char * const argv[])
+static int do_sdsetn(struct cmd_tbl *cmdtp, int flag, int argc,
+ char *const argv[])
{
int dev;
{
int dev;