Skip to content

Commit

Permalink
[PATCH] Corgi: Add keyboard and touchscreen device definitions
Browse files Browse the repository at this point in the history
Add keyboard and touchscreen device definitions for corgi.

Signed-off-by: Richard Purdie <rpurdie@rpsys.net>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
  • Loading branch information
Richard Purdie authored and Linus Torvalds committed Sep 7, 2005
1 parent 3158106 commit f7ceff3
Showing 1 changed file with 24 additions and 0 deletions.
24 changes: 24 additions & 0 deletions arch/arm/mach-pxa/corgi.c
Original file line number Diff line number Diff line change
Expand Up @@ -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
*
Expand Down Expand Up @@ -183,6 +204,7 @@ static struct pxamci_platform_data corgi_mci_platform_data = {
};



/*
* USB Device Controller
*/
Expand All @@ -208,7 +230,9 @@ static struct platform_device *devices[] __initdata = {
&corgiscoop_device,
&corgissp_device,
&corgifb_device,
&corgikbd_device,
&corgibl_device,
&corgits_device,
};

static void __init corgi_init(void)
Expand Down

0 comments on commit f7ceff3

Please sign in to comment.