i2c-nomadik: fix speed enumerator
authorLinus Walleij <linus.walleij@linaro.org>
Fri, 13 May 2011 10:29:20 +0000 (12:29 +0200)
committerBen Dooks <ben-linux@fluff.org>
Tue, 24 May 2011 23:20:22 +0000 (00:20 +0100)
The I2C speed enumerators in the i2c-nomadik header file were in
the wrong order.

Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Signed-off-by: Ben Dooks <ben-linux@fluff.org>
arch/arm/plat-nomadik/include/plat/i2c.h

index 4ed4e27..8ba70ff 100644 (file)
@@ -11,8 +11,8 @@
 enum i2c_freq_mode {
        I2C_FREQ_MODE_STANDARD,         /* up to 100 Kb/s */
        I2C_FREQ_MODE_FAST,             /* up to 400 Kb/s */
+       I2C_FREQ_MODE_HIGH_SPEED,       /* up to 3.4 Mb/s */
        I2C_FREQ_MODE_FAST_PLUS,        /* up to 1 Mb/s */
-       I2C_FREQ_MODE_HIGH_SPEED        /* up to 3.4 Mb/s */
 };
 
 /**