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) |