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

Unified Diff: platform/zynq/gpio.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 | « platform/power.c ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: platform/zynq/gpio.c
diff --git a/platform/zynq/gpio.c b/platform/zynq/gpio.c
index 91e2e82da9fcf0baf2a2978d8fafdb7da0583e13..1f0412c84915ca3c13781d0074ae4ad669b89dda 100644
--- a/platform/zynq/gpio.c
+++ b/platform/zynq/gpio.c
@@ -277,7 +277,7 @@ static int cmd_zynq_gpio(int argc, const cmd_args *argv)
}
STATIC_COMMAND_START
#if LK_DEBUGLEVEL > 1
-{ "zynq_gpio", "Dump Zynq GPIO registers", &cmd_zynq_gpio },
+STATIC_COMMAND("zynq_gpio", "Dump Zynq GPIO registers", &cmd_zynq_gpio)
#endif
STATIC_COMMAND_END(zynq_gpio);
« no previous file with comments | « platform/power.c ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698