aboutsummaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-ux500/devices-db8500.c
diff options
context:
space:
mode:
authorDmitry Torokhov <dmitry.torokhov@gmail.com>2010-10-25 01:11:17 -0400
committerDmitry Torokhov <dmitry.torokhov@gmail.com>2010-10-25 01:11:17 -0400
commit49327ad2bbbaf1945d5ba431522201574219d150 (patch)
tree47beb374d0cfb77d401220f20e8cece4ce4469db /arch/arm/mach-ux500/devices-db8500.c
parentf9ce6eb5b6fa8cbcf0a0fb7c5f4203f94730fc52 (diff)
parent6521d0bf984ab1cc25795d312e21c438aea8b5d5 (diff)
Merge branch 'next' into for-linus
Diffstat (limited to 'arch/arm/mach-ux500/devices-db8500.c')
-rw-r--r--arch/arm/mach-ux500/devices-db8500.c20
1 files changed, 20 insertions, 0 deletions
diff --git a/arch/arm/mach-ux500/devices-db8500.c b/arch/arm/mach-ux500/devices-db8500.c
index 9280d2561111..735aaeec2c19 100644
--- a/arch/arm/mach-ux500/devices-db8500.c
+++ b/arch/arm/mach-ux500/devices-db8500.c
@@ -216,3 +216,23 @@ void dma40_u8500ed_fixup(void)
216 dma40_resources[1].start = U8500_DMA_LCPA_BASE_ED; 216 dma40_resources[1].start = U8500_DMA_LCPA_BASE_ED;
217 dma40_resources[1].end = U8500_DMA_LCPA_BASE_ED + 2 * SZ_1K - 1; 217 dma40_resources[1].end = U8500_DMA_LCPA_BASE_ED + 2 * SZ_1K - 1;
218} 218}
219
220struct resource keypad_resources[] = {
221 [0] = {
222 .start = U8500_SKE_BASE,
223 .end = U8500_SKE_BASE + SZ_4K - 1,
224 .flags = IORESOURCE_MEM,
225 },
226 [1] = {
227 .start = IRQ_DB8500_KB,
228 .end = IRQ_DB8500_KB,
229 .flags = IORESOURCE_IRQ,
230 },
231};
232
233struct platform_device ux500_ske_keypad_device = {
234 .name = "nmk-ske-keypad",
235 .id = -1,
236 .num_resources = ARRAY_SIZE(keypad_resources),
237 .resource = keypad_resources,
238};