Documentation: i2c: Fix example in instantiating-devices
authorSachin Kamat <sachin.kamat@linaro.org>
Thu, 8 Aug 2013 05:25:11 +0000 (10:55 +0530)
committerWolfram Sang <wsa@the-dreams.de>
Mon, 19 Aug 2013 17:50:32 +0000 (19:50 +0200)
__initdata should be placed between the variable name and equal
sign for the variable to be placed in the intended section.

Signed-off-by: Sachin Kamat <sachin.kamat@linaro.org>
Signed-off-by: Wolfram Sang <wsa@the-dreams.de>
Documentation/i2c/instantiating-devices

index 2218266..c70e7a7 100644 (file)
@@ -19,7 +19,7 @@ i2c_board_info which is registered by calling i2c_register_board_info().
 
 Example (from omap2 h4):
 
-static struct i2c_board_info __initdata h4_i2c_board_info[] = {
+static struct i2c_board_info h4_i2c_board_info[] __initdata = {
        {
                I2C_BOARD_INFO("isp1301_omap", 0x2d),
                .irq            = OMAP_GPIO_IRQ(125),