提交 f7ceff34 编写于 作者: R Richard Purdie 提交者: Linus Torvalds

[PATCH] Corgi: Add keyboard and touchscreen device definitions

Add keyboard and touchscreen device definitions for corgi.
Signed-off-by: NRichard Purdie <rpurdie@rpsys.net>
Signed-off-by: NAndrew Morton <akpm@osdl.org>
Signed-off-by: NLinus Torvalds <torvalds@osdl.org>
上级 31581066
...@@ -107,6 +107,27 @@ static struct platform_device corgibl_device = { ...@@ -107,6 +107,27 @@ static struct platform_device corgibl_device = {
}; };
/*
* Corgi Keyboard Device
*/
static struct platform_device corgikbd_device = {
.name = "corgi-keyboard",
.id = -1,
};
/*
* Corgi Touch Screen Device
*/
static struct platform_device corgits_device = {
.name = "corgi-ts",
.dev = {
.parent = &corgissp_device.dev,
},
.id = -1,
};
/* /*
* MMC/SD Device * MMC/SD Device
* *
...@@ -183,6 +204,7 @@ static struct pxamci_platform_data corgi_mci_platform_data = { ...@@ -183,6 +204,7 @@ static struct pxamci_platform_data corgi_mci_platform_data = {
}; };
/* /*
* USB Device Controller * USB Device Controller
*/ */
...@@ -208,7 +230,9 @@ static struct platform_device *devices[] __initdata = { ...@@ -208,7 +230,9 @@ static struct platform_device *devices[] __initdata = {
&corgiscoop_device, &corgiscoop_device,
&corgissp_device, &corgissp_device,
&corgifb_device, &corgifb_device,
&corgikbd_device,
&corgibl_device, &corgibl_device,
&corgits_device,
}; };
static void __init corgi_init(void) static void __init corgi_init(void)
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册