diff options
author | Sachin Kamat <sachin.kamat@linaro.org> | 2013-08-08 01:25:11 -0400 |
---|---|---|
committer | Wolfram Sang <wsa@the-dreams.de> | 2013-08-19 13:50:32 -0400 |
commit | 42fa278d70e7caee728f6f3e563d1aaaf9c521aa (patch) | |
tree | 1aa4163ce57d4c0197ee1eb4d1e64db3436ec564 /Documentation/i2c | |
parent | 243ec0909af052d3f420dd6a4d4376e68346d95c (diff) |
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>
Diffstat (limited to 'Documentation/i2c')
-rw-r--r-- | Documentation/i2c/instantiating-devices | 2 |
1 files changed, 1 insertions, 1 deletions
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(). | |||
19 | 19 | ||
20 | Example (from omap2 h4): | 20 | Example (from omap2 h4): |
21 | 21 | ||
22 | static struct i2c_board_info __initdata h4_i2c_board_info[] = { | 22 | static struct i2c_board_info h4_i2c_board_info[] __initdata = { |
23 | { | 23 | { |
24 | I2C_BOARD_INFO("isp1301_omap", 0x2d), | 24 | I2C_BOARD_INFO("isp1301_omap", 0x2d), |
25 | .irq = OMAP_GPIO_IRQ(125), | 25 | .irq = OMAP_GPIO_IRQ(125), |