diff options
author | Sekhar Nori <nsekhar@ti.com> | 2009-11-04 06:38:42 -0500 |
---|---|---|
committer | Kevin Hilman <khilman@deeprootsystems.com> | 2009-11-25 13:21:38 -0500 |
commit | 445094f994406d0db7026e61b524788fa6d7acda (patch) | |
tree | 7d70fe68d791978f02e410ed64b395646218131a /arch/arm | |
parent | 99381b4f114d00ccfe2495aa79755b6094bdd0c9 (diff) |
davinci: fix section mismatch warning in arch/arm/mach-davinci/board-dm646x-evm.c
A section mismatch is reported for gpio_led_platform_data
as it is referenced by a non annotated function (evm_led_setup)
This patch fixes the issue by converting the __initconst to const
as is the case in arch/arm/mach-davinci/board-dm644x-evm.c file.
Signed-off-by: Sekhar Nori <nsekhar@ti.com>
Signed-off-by: Kevin Hilman <khilman@deeprootsystems.com>
Diffstat (limited to 'arch/arm')
-rw-r--r-- | arch/arm/mach-davinci/board-dm646x-evm.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/arm/mach-davinci/board-dm646x-evm.c b/arch/arm/mach-davinci/board-dm646x-evm.c index 75b2b6fb8594..8d0b0e01c59b 100644 --- a/arch/arm/mach-davinci/board-dm646x-evm.c +++ b/arch/arm/mach-davinci/board-dm646x-evm.c | |||
@@ -194,7 +194,7 @@ static struct gpio_led evm_leds[] = { | |||
194 | { .name = "DS4", .active_low = 1, }, | 194 | { .name = "DS4", .active_low = 1, }, |
195 | }; | 195 | }; |
196 | 196 | ||
197 | static __initconst struct gpio_led_platform_data evm_led_data = { | 197 | static const struct gpio_led_platform_data evm_led_data = { |
198 | .num_leds = ARRAY_SIZE(evm_leds), | 198 | .num_leds = ARRAY_SIZE(evm_leds), |
199 | .leds = evm_leds, | 199 | .leds = evm_leds, |
200 | }; | 200 | }; |