X-Git-Url: https://git.librecmc.org/?a=blobdiff_plain;f=cmd%2Freiser.c;h=3db926f806487114ad5c499e94a87009dadfc5ee;hb=09140113108541b95d340f3c7b6ee597d31ccc73;hp=7f51b927a47548c074390cbab4939e98a9f5d498;hpb=5939afc9611e8ba4a86b96e67670b765ee27668e;p=oweals%2Fu-boot.git diff --git a/cmd/reiser.c b/cmd/reiser.c index 7f51b927a4..3db926f806 100644 --- a/cmd/reiser.c +++ b/cmd/reiser.c @@ -30,12 +30,12 @@ #define PRINTF(fmt,args...) #endif -int do_reiserls (cmd_tbl_t *cmdtp, int flag, int argc, char * const argv[]) +int do_reiserls(struct cmd_tbl *cmdtp, int flag, int argc, char *const argv[]) { char *filename = "/"; int dev, part; struct blk_desc *dev_desc = NULL; - disk_partition_t info; + struct disk_partition info; if (argc < 3) return CMD_RET_USAGE; @@ -76,12 +76,12 @@ U_BOOT_CMD( /****************************************************************************** * Reiserfs boot command intepreter. Derived from diskboot */ -int do_reiserload (cmd_tbl_t *cmdtp, int flag, int argc, char * const argv[]) +int do_reiserload(struct cmd_tbl *cmdtp, int flag, int argc, char *const argv[]) { char *filename = NULL; int dev, part; ulong addr = 0, filelen; - disk_partition_t info; + struct disk_partition info; struct blk_desc *dev_desc = NULL; unsigned long count; char *addr_str; @@ -154,7 +154,7 @@ int do_reiserload (cmd_tbl_t *cmdtp, int flag, int argc, char * const argv[]) } /* Loading ok, update default load address */ - load_addr = addr; + image_load_addr = addr; printf ("\n%ld bytes read\n", filelen); env_set_hex("filesize", filelen);