|
@@ -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 = {
|