Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(11)

Unified Diff: dev/gpio/debug.c

Issue 1348403002: Consistently use the STATIC_COMMAND macro every time we define a console command. (Closed) Base URL: https://github.com/travisg/lk.git@master
Patch Set: Created 5 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « arch/arm/arm/debug.c ('k') | lib/buildsig/buildsig.c » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: dev/gpio/debug.c
diff --git a/dev/gpio/debug.c b/dev/gpio/debug.c
index 1d4e987801aa41f1c21eb132795d0d89d2e2767d..9a32ae585f758a9df00aa40806171de97bf54b17 100644
--- a/dev/gpio/debug.c
+++ b/dev/gpio/debug.c
@@ -94,7 +94,7 @@ static int cmd_gpio(int argc, const cmd_args *argv)
return 0;
}
STATIC_COMMAND_START
-{ "gpio", "commands for manipulating system gpios", &cmd_gpio },
+STATIC_COMMAND("gpio", "commands for manipulating system gpios", &cmd_gpio)
STATIC_COMMAND_END(gpio);
#endif
« no previous file with comments | « arch/arm/arm/debug.c ('k') | lib/buildsig/buildsig.c » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698