Skip to content

Commit

Permalink
Documentation: leds: Fix a typo
Browse files Browse the repository at this point in the history
__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 <[email protected]>
Signed-off-by: Bryan Wu <[email protected]>
  • Loading branch information
Sachin Kamat authored and cooloney committed Aug 27, 2013
1 parent b06cf2d commit e5862b9
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Documentation/leds/leds-lm3556.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down
2 changes: 1 addition & 1 deletion Documentation/leds/leds-lp3944.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down

0 comments on commit e5862b9

Please sign in to comment.