summaryrefslogtreecommitdiffstats
path: root/Documentation/leds/leds-lp3944.txt
diff options
context:
space:
mode:
authorSachin Kamat <sachin.kamat@linaro.org>2013-08-09 09:19:33 -0700
committerJiri Kosina <jkosina@suse.cz>2013-08-20 12:51:29 +0200
commiteb967b6a332688a8d83e7782953cc1017da514ff (patch)
treed705c126eb0e55632cd8a29913e77c043fc172cd /Documentation/leds/leds-lp3944.txt
parentc74499279bb0f4887a8faa9522160be8d7c7008d (diff)
downloadop-kernel-dev-eb967b6a332688a8d83e7782953cc1017da514ff.zip
op-kernel-dev-eb967b6a332688a8d83e7782953cc1017da514ff.tar.gz
Documentation: leds: Fix a typo
__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> Acked-by: Rob Landley <rob@landley.net> Signed-off-by: Jiri Kosina <jkosina@suse.cz>
Diffstat (limited to 'Documentation/leds/leds-lp3944.txt')
-rw-r--r--Documentation/leds/leds-lp3944.txt2
1 files changed, 1 insertions, 1 deletions
diff --git a/Documentation/leds/leds-lp3944.txt b/Documentation/leds/leds-lp3944.txt
index c6eda18..e88ac3b 100644
--- a/Documentation/leds/leds-lp3944.txt
+++ b/Documentation/leds/leds-lp3944.txt
@@ -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,
OpenPOWER on IntegriCloud