From: Sachin Kamat <sachin.kamat@linaro.org>
Date: Thu, 8 Aug 2013 05:25:11 +0000 (+0530)
Subject: Documentation: i2c: Fix example in instantiating-devices
X-Git-Tag: v3.12-rc1~140^2~18
X-Git-Url: https://www.infradead.org/git/?a=commitdiff_plain;h=42fa278d70e7caee728f6f3e563d1aaaf9c521aa;p=linux.git

Documentation: i2c: Fix example in instantiating-devices

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

diff --git a/Documentation/i2c/instantiating-devices b/Documentation/i2c/instantiating-devices
index 22182660dda7..c70e7a7638d1 100644
--- a/Documentation/i2c/instantiating-devices
+++ b/Documentation/i2c/instantiating-devices
@@ -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),