瀏覽代碼

cmd_net.c: fix build breakage

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@denx.de>
Cc: Mike Frysinger <vapier@gentoo.org>
Wolfgang Denk 14 年之前
父節點
當前提交
4b58266e95
共有 1 個文件被更改,包括 1 次插入0 次删除
  1. 1 0
      common/cmd_net.c

+ 1 - 0
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