提交 5f1cc13f 编写于 作者: T Tomi Valkeinen

OMAP1: Remove unused LCD devices from board files

Some OMAP1 board files define LCD platform_devices, but there are no
corresponding LCD drivers for those in the kernel. Thus remove these LCD
devices.
Signed-off-by: NTomi Valkeinen <tomi.valkeinen@ti.com>
Acked-by: NTony Lindgren <tony@atomide.com>
上级 1b2240ef
...@@ -274,17 +274,11 @@ static struct platform_device kp_device = { ...@@ -274,17 +274,11 @@ static struct platform_device kp_device = {
.resource = kp_resources, .resource = kp_resources,
}; };
static struct platform_device lcd_device = {
.name = "lcd_p2",
.id = -1,
};
static struct platform_device *devices[] __initdata = { static struct platform_device *devices[] __initdata = {
&nor_device, &nor_device,
&nand_device, &nand_device,
&smc91x_device, &smc91x_device,
&kp_device, &kp_device,
&lcd_device,
}; };
static struct omap_lcd_config fsample_lcd_config = { static struct omap_lcd_config fsample_lcd_config = {
......
...@@ -326,18 +326,12 @@ static struct platform_device h2_irda_device = { ...@@ -326,18 +326,12 @@ static struct platform_device h2_irda_device = {
.resource = h2_irda_resources, .resource = h2_irda_resources,
}; };
static struct platform_device h2_lcd_device = {
.name = "lcd_h2",
.id = -1,
};
static struct platform_device *h2_devices[] __initdata = { static struct platform_device *h2_devices[] __initdata = {
&h2_nor_device, &h2_nor_device,
&h2_nand_device, &h2_nand_device,
&h2_smc91x_device, &h2_smc91x_device,
&h2_irda_device, &h2_irda_device,
&h2_kp_device, &h2_kp_device,
&h2_lcd_device,
}; };
static void __init h2_init_smc91x(void) static void __init h2_init_smc91x(void)
......
...@@ -233,17 +233,11 @@ static struct platform_device kp_device = { ...@@ -233,17 +233,11 @@ static struct platform_device kp_device = {
.resource = kp_resources, .resource = kp_resources,
}; };
static struct platform_device lcd_device = {
.name = "lcd_p2",
.id = -1,
};
static struct platform_device *devices[] __initdata = { static struct platform_device *devices[] __initdata = {
&nor_device, &nor_device,
&nand_device, &nand_device,
&smc91x_device, &smc91x_device,
&kp_device, &kp_device,
&lcd_device,
}; };
static struct omap_lcd_config perseus2_lcd_config __initdata = { static struct omap_lcd_config perseus2_lcd_config __initdata = {
......
...@@ -356,11 +356,6 @@ static struct omap_usb_config sx1_usb_config __initdata = { ...@@ -356,11 +356,6 @@ static struct omap_usb_config sx1_usb_config __initdata = {
/*----------- LCD -------------------------*/ /*----------- LCD -------------------------*/
static struct platform_device sx1_lcd_device = {
.name = "lcd_sx1",
.id = -1,
};
static struct omap_lcd_config sx1_lcd_config __initdata = { static struct omap_lcd_config sx1_lcd_config __initdata = {
.ctrl_name = "internal", .ctrl_name = "internal",
}; };
...@@ -369,7 +364,6 @@ static struct omap_lcd_config sx1_lcd_config __initdata = { ...@@ -369,7 +364,6 @@ static struct omap_lcd_config sx1_lcd_config __initdata = {
static struct platform_device *sx1_devices[] __initdata = { static struct platform_device *sx1_devices[] __initdata = {
&sx1_flash_device, &sx1_flash_device,
&sx1_kp_device, &sx1_kp_device,
&sx1_lcd_device,
&sx1_irda_device, &sx1_irda_device,
}; };
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册