[U-Boot] [PATCH] cmd_net.c: fix build breakage

Wolfgang Denk wd at denx.de
Thu Dec 23 17:04:26 CET 2010


Commit 722b061 "autocomplete: remove runtime handler install" caused
some boards (like NETTA2_V2) to break with errors like these:

cmd_net.c:296: error: expected expression before ',' token

Fix this.

Signed-off-by: Wolfgang Denk <wd at denx.de>
Cc: Mike Frysinger <vapier at gentoo.org>
---
 common/cmd_net.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/common/cmd_net.c b/common/cmd_net.c
index 973fa21..00e0ea8 100644
--- a/common/cmd_net.c
+++ b/common/cmd_net.c
@@ -296,6 +296,7 @@ int do_cdp (cmd_tbl_t *cmdtp, int flag, int argc, char * const argv[])
 U_BOOT_CMD(
 	cdp,	1,	1,	do_cdp,
 	"Perform CDP network configuration",
+	"\n"
 );
 #endif
 
-- 
1.7.3.3



More information about the U-Boot mailing list