davinci: fix section mismatch warning in arch/arm/mach-davinci/board-dm646x-evm.c
authorSekhar Nori <nsekhar@ti.com>
Wed, 4 Nov 2009 11:38:42 +0000 (17:08 +0530)
committerKevin Hilman <khilman@deeprootsystems.com>
Wed, 25 Nov 2009 18:21:38 +0000 (10:21 -0800)
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>
arch/arm/mach-davinci/board-dm646x-evm.c

index 75b2b6fb859470510ffb9e6d26060d1851c30c61..8d0b0e01c59b6deee93e12bb5eb13998873cc2e1 100644 (file)
@@ -194,7 +194,7 @@ static struct gpio_led evm_leds[] = {
        { .name = "DS4", .active_low = 1, },
 };
 
-static __initconst struct gpio_led_platform_data evm_led_data = {
+static const struct gpio_led_platform_data evm_led_data = {
        .num_leds = ARRAY_SIZE(evm_leds),
        .leds     = evm_leds,
 };
This page took 0.027112 seconds and 5 git commands to generate.