[U-Boot] [PATCH] cmd_net: drop spurious comma in U_BOOT_CMD

Mike Frysinger vapier at gentoo.org
Wed Oct 20 09:33:30 CEST 2010


Building for boards that have CONFIG_CMD_CDP enabled fail with:
cmd_net.c:301: error: expected expression before ',' token

Signed-off-by: Mike Frysinger <vapier at gentoo.org>
---
 common/cmd_net.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/common/cmd_net.c b/common/cmd_net.c
index 44d17db..b131006 100644
--- a/common/cmd_net.c
+++ b/common/cmd_net.c
@@ -297,7 +297,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",
+	"Perform CDP network configuration"
 );
 #endif
 
-- 
1.7.3.1



More information about the U-Boot mailing list