projects
/
oweals
/
u-boot.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
rockchip: Remove ARCH= references from documentation
[oweals/u-boot.git]
/
cmd
/
mtdparts.c
diff --git
a/cmd/mtdparts.c
b/cmd/mtdparts.c
index b40c2afadda2b60c3be134b384b0cc68cab20645..5220142b9ab25d704229832d84fe46e1241ff391 100644
(file)
--- a/
cmd/mtdparts.c
+++ b/
cmd/mtdparts.c
@@
-73,6
+73,7
@@
#include <common.h>
#include <command.h>
#include <env.h>
#include <common.h>
#include <command.h>
#include <env.h>
+#include <log.h>
#include <malloc.h>
#include <jffs2/load_kernel.h>
#include <linux/list.h>
#include <malloc.h>
#include <jffs2/load_kernel.h>
#include <linux/list.h>
@@
-1915,7
+1916,8
@@
static struct part_info* mtd_part_info(struct mtd_device *dev, unsigned int part
* @param argv arguments list
* @return 0 on success, 1 otherwise
*/
* @param argv arguments list
* @return 0 on success, 1 otherwise
*/
-static int do_chpart(cmd_tbl_t *cmdtp, int flag, int argc, char * const argv[])
+static int do_chpart(struct cmd_tbl *cmdtp, int flag, int argc,
+ char *const argv[])
{
/* command line only */
struct mtd_device *dev;
{
/* command line only */
struct mtd_device *dev;
@@
-1953,8
+1955,8
@@
static int do_chpart(cmd_tbl_t *cmdtp, int flag, int argc, char * const argv[])
* @param argv arguments list
* @return 0 on success, 1 otherwise
*/
* @param argv arguments list
* @return 0 on success, 1 otherwise
*/
-static int do_mtdparts(
cmd_tbl_t
*cmdtp, int flag, int argc,
- char *
const argv[])
+static int do_mtdparts(
struct cmd_tbl
*cmdtp, int flag, int argc,
+ char *const argv[])
{
if (argc == 2) {
if (strcmp(argv[1], "default") == 0) {
{
if (argc == 2) {
if (strcmp(argv[1], "default") == 0) {