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

Unified Diff: platform/omap3/i2c.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 | « lib/version/version.c ('k') | platform/power.c » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: platform/omap3/i2c.c
diff --git a/platform/omap3/i2c.c b/platform/omap3/i2c.c
index f5b31e0f4c933b4bfb9d22ce94529358883f4371..2a30979695dbe9a5f8a274d3cb43c6c33e5bb95f 100644
--- a/platform/omap3/i2c.c
+++ b/platform/omap3/i2c.c
@@ -278,7 +278,7 @@ void i2c_init(void)
static int cmd_i2c(int argc, const cmd_args *argv);
STATIC_COMMAND_START
- { "i2c", "i2c read/write commands", &cmd_i2c },
+STATIC_COMMAND("i2c", "i2c read/write commands", &cmd_i2c)
STATIC_COMMAND_END(i2c);
static int cmd_i2c(int argc, const cmd_args *argv)
« no previous file with comments | « lib/version/version.c ('k') | platform/power.c » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698