Documentation: leds: Fix a typo
authorSachin Kamat <sachin.kamat@linaro.org>
Thu, 8 Aug 2013 05:07:59 +0000 (22:07 -0700)
committerBryan Wu <cooloney@gmail.com>
Tue, 27 Aug 2013 00:22:12 +0000 (17:22 -0700)
__initdata should be placed between the variable name and equal
sign for the variable to be placed in the intended section.
Fix the example.

Signed-off-by: Sachin Kamat <sachin.kamat@linaro.org>
Signed-off-by: Bryan Wu <cooloney@gmail.com>
Documentation/leds/leds-lm3556.txt
Documentation/leds/leds-lp3944.txt

index d9eb91b5191353b68c84924ef0a62fe8716de41a..62278e871b503cfdc9ba31e99a92a82cd0d42d12 100644 (file)
@@ -71,7 +71,7 @@ To register the chip at address 0x63 on specific adapter, set the platform data
 according to include/linux/platform_data/leds-lm3556.h, set the i2c board info
 
 Example:
-       static struct i2c_board_info __initdata board_i2c_ch4[] = {
+       static struct i2c_board_info board_i2c_ch4[] __initdata = {
                {
                         I2C_BOARD_INFO(LM3556_NAME, 0x63),
                         .platform_data = &lm3556_pdata,
index c6eda18b15efbb0ceec0b2a25e8f6e06ada488cc..e88ac3b60c0813936f1a33a3cb932c1991c72aa3 100644 (file)
@@ -37,7 +37,7 @@ registered using the i2c_board_info mechanism.
 To register the chip at address 0x60 on adapter 0, set the platform data
 according to include/linux/leds-lp3944.h, set the i2c board info:
 
-       static struct i2c_board_info __initdata a910_i2c_board_info[] = {
+       static struct i2c_board_info a910_i2c_board_info[] __initdata = {
                {
                        I2C_BOARD_INFO("lp3944", 0x60),
                        .platform_data = &a910_lp3944_leds,