projects
/
deliverable
/
linux.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
[ARM] 3433/1: ARM: OMAP: 8/8 Update board files
[deliverable/linux.git]
/
arch
/
arm
/
mach-omap1
/
board-palmte.c
diff --git
a/arch/arm/mach-omap1/board-palmte.c
b/arch/arm/mach-omap1/board-palmte.c
index e488f723677546059707e70df696eb9321104f76..4bc8a62909b9acc23161bf7041da6360bcc6c268 100644
(file)
--- a/
arch/arm/mach-omap1/board-palmte.c
+++ b/
arch/arm/mach-omap1/board-palmte.c
@@
-38,6
+38,15
@@
static void __init omap_generic_init_irq(void)
omap_init_irq();
}
omap_init_irq();
}
+static struct platform_device palmte_lcd_device = {
+ .name = "lcd_palmte",
+ .id = -1,
+};
+
+static struct platform_device *devices[] __initdata = {
+ &palmte_lcd_device,
+};
+
static struct omap_usb_config palmte_usb_config __initdata = {
.register_dev = 1,
.hmc_mode = 0,
static struct omap_usb_config palmte_usb_config __initdata = {
.register_dev = 1,
.hmc_mode = 0,
@@
-55,7
+64,6
@@
static struct omap_mmc_config palmte_mmc_config __initdata = {
};
static struct omap_lcd_config palmte_lcd_config __initdata = {
};
static struct omap_lcd_config palmte_lcd_config __initdata = {
- .panel_name = "palmte",
.ctrl_name = "internal",
};
.ctrl_name = "internal",
};
@@
-69,6
+77,8
@@
static void __init omap_generic_init(void)
{
omap_board_config = palmte_config;
omap_board_config_size = ARRAY_SIZE(palmte_config);
{
omap_board_config = palmte_config;
omap_board_config_size = ARRAY_SIZE(palmte_config);
+
+ platform_add_devices(devices, ARRAY_SIZE(devices));
}
static void __init omap_generic_map_io(void)
}
static void __init omap_generic_map_io(void)
This page took
0.02584 seconds
and
5
git commands to generate.