arm: omap1: fix a bunch of section mismatches
Fix the following section mismatches: WARNING: arch/arm/mach-omap1/built-in.o(.data+0x491c): Section mismatch in reference from the variable fsample_config to the (unknown reference) .init.data:(unknown) The variable fsample_config 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, WARNING: arch/arm/mach-omap1/built-in.o(.data+0x8f0c): Section mismatch in reference from the variable ams_delta_config to the (unknown reference) .init.data:(unknown) The variable ams_delta_config 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, WARNING: arch/arm/mach-omap1/built-in.o(.data+0x93ac): Section mismatch in reference from the variable ams_delta_camera_device to the (unknown reference) .init.data:(unknown) The variable ams_delta_camera_device 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, WARNING: vmlinux.o(.data+0x5e94): Section mismatch in reference from the variable fsample_config to the (unknown reference) .init.data:(unknown) The variable fsample_config 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, WARNING: vmlinux.o(.data+0xa484): Section mismatch in reference from the variable ams_delta_config to the (unknown reference) .init.data:(unknown) The variable ams_delta_config 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, WARNING: vmlinux.o(.data+0xa924): Section mismatch in reference from the variable ams_delta_camera_device to the (unknown reference) .init.data:(unknown) The variable ams_delta_camera_device 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: Felipe Balbi <balbi@ti.com> Signed-off-by: Tony Lindgren <tony@atomide.com>
This commit is contained in:
parent
58dfaba789
commit
bdc58fb950
|
@ -165,7 +165,7 @@ static struct map_desc ams_delta_io_desc[] __initdata = {
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
static struct omap_lcd_config ams_delta_lcd_config __initdata = {
|
static struct omap_lcd_config ams_delta_lcd_config = {
|
||||||
.ctrl_name = "internal",
|
.ctrl_name = "internal",
|
||||||
};
|
};
|
||||||
|
|
||||||
|
@ -208,14 +208,14 @@ static const struct matrix_keymap_data ams_delta_keymap_data = {
|
||||||
.keymap_size = ARRAY_SIZE(ams_delta_keymap),
|
.keymap_size = ARRAY_SIZE(ams_delta_keymap),
|
||||||
};
|
};
|
||||||
|
|
||||||
static struct omap_kp_platform_data ams_delta_kp_data = {
|
static struct omap_kp_platform_data ams_delta_kp_data __initdata = {
|
||||||
.rows = 8,
|
.rows = 8,
|
||||||
.cols = 8,
|
.cols = 8,
|
||||||
.keymap_data = &ams_delta_keymap_data,
|
.keymap_data = &ams_delta_keymap_data,
|
||||||
.delay = 9,
|
.delay = 9,
|
||||||
};
|
};
|
||||||
|
|
||||||
static struct platform_device ams_delta_kp_device = {
|
static struct platform_device ams_delta_kp_device __initdata = {
|
||||||
.name = "omap-keypad",
|
.name = "omap-keypad",
|
||||||
.id = -1,
|
.id = -1,
|
||||||
.dev = {
|
.dev = {
|
||||||
|
@ -225,12 +225,12 @@ static struct platform_device ams_delta_kp_device = {
|
||||||
.resource = ams_delta_kp_resources,
|
.resource = ams_delta_kp_resources,
|
||||||
};
|
};
|
||||||
|
|
||||||
static struct platform_device ams_delta_lcd_device = {
|
static struct platform_device ams_delta_lcd_device __initdata = {
|
||||||
.name = "lcd_ams_delta",
|
.name = "lcd_ams_delta",
|
||||||
.id = -1,
|
.id = -1,
|
||||||
};
|
};
|
||||||
|
|
||||||
static struct platform_device ams_delta_led_device = {
|
static struct platform_device ams_delta_led_device __initdata = {
|
||||||
.name = "ams-delta-led",
|
.name = "ams-delta-led",
|
||||||
.id = -1
|
.id = -1
|
||||||
};
|
};
|
||||||
|
@ -259,7 +259,7 @@ static int ams_delta_camera_power(struct device *dev, int power)
|
||||||
#define ams_delta_camera_power NULL
|
#define ams_delta_camera_power NULL
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
static struct soc_camera_link __initdata ams_delta_iclink = {
|
static struct soc_camera_link ams_delta_iclink __initdata = {
|
||||||
.bus_id = 0, /* OMAP1 SoC camera bus */
|
.bus_id = 0, /* OMAP1 SoC camera bus */
|
||||||
.i2c_adapter_id = 1,
|
.i2c_adapter_id = 1,
|
||||||
.board_info = &ams_delta_camera_board_info[0],
|
.board_info = &ams_delta_camera_board_info[0],
|
||||||
|
@ -267,7 +267,7 @@ static struct soc_camera_link __initdata ams_delta_iclink = {
|
||||||
.power = ams_delta_camera_power,
|
.power = ams_delta_camera_power,
|
||||||
};
|
};
|
||||||
|
|
||||||
static struct platform_device ams_delta_camera_device = {
|
static struct platform_device ams_delta_camera_device __initdata = {
|
||||||
.name = "soc-camera-pdrv",
|
.name = "soc-camera-pdrv",
|
||||||
.id = 0,
|
.id = 0,
|
||||||
.dev = {
|
.dev = {
|
||||||
|
|
|
@ -287,7 +287,7 @@ static struct platform_device *devices[] __initdata = {
|
||||||
&lcd_device,
|
&lcd_device,
|
||||||
};
|
};
|
||||||
|
|
||||||
static struct omap_lcd_config fsample_lcd_config __initdata = {
|
static struct omap_lcd_config fsample_lcd_config = {
|
||||||
.ctrl_name = "internal",
|
.ctrl_name = "internal",
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue