diff options
author | Uwe Kleine-König <u.kleine-koenig@pengutronix.de> | 2010-09-02 09:14:22 +0100 |
---|---|---|
committer | Russell King <rmk+kernel@arm.linux.org.uk> | 2010-09-02 16:36:06 +0100 |
commit | d684f640639d7be8efb7b324294830d9bcbf15f9 (patch) | |
tree | f5026cc1cbd48c88e7a901bec0fce8ee58f05da1 /arch/arm/mach-s3c64xx | |
parent | 495c7b8e64811e8117eca472c6f90dccda039dc4 (diff) | |
download | blackbird-op-linux-d684f640639d7be8efb7b324294830d9bcbf15f9.tar.gz blackbird-op-linux-d684f640639d7be8efb7b324294830d9bcbf15f9.zip |
ARM: 6350/1: s3c64xx: don't put smartq5_leds in .init.data
This fixes a section mismatch found by modpost:
WARNING: arch/arm/mach-s3c64xx/built-in.o(.data+0x2814): Section mismatch in reference from the variable smartq5_led_data to the (unknown reference) .init.data:(unknown)
The variable smartq5_led_data references
the (unknown reference) __initdata (unknown)
If the reference is valid then annotate the
variable with __init* or __refdata (see linux/init.h) or name the variable:
*_template, *_timer, *_sht, *_ops, *_probe, *_probe_one, *_console,
Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
Diffstat (limited to 'arch/arm/mach-s3c64xx')
-rw-r--r-- | arch/arm/mach-s3c64xx/mach-smartq5.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/arm/mach-s3c64xx/mach-smartq5.c b/arch/arm/mach-s3c64xx/mach-smartq5.c index a4d59b076e3d..235e43928cb8 100644 --- a/arch/arm/mach-s3c64xx/mach-smartq5.c +++ b/arch/arm/mach-s3c64xx/mach-smartq5.c @@ -32,7 +32,7 @@ #include "mach-smartq.h" -static struct gpio_led smartq5_leds[] __initdata = { +static struct gpio_led smartq5_leds[] = { { .name = "smartq5:green", .active_low = 1, |