Skip to content

Commit

Permalink
ARM: 6350/1: s3c64xx: don't put smartq5_leds in .init.data
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Uwe Kleine-König authored and Russell King committed Sep 2, 2010
1 parent 495c7b8 commit d684f64
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion arch/arm/mach-s3c64xx/mach-smartq5.c
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down

0 comments on commit d684f64

Please sign in to comment.