From 3aeab2169fe7e37f34afd54a2de610a4fe13df31 Mon Sep 17 00:00:00 2001 From: wanzongshun Date: Fri, 17 Jul 2009 14:42:33 +0100 Subject: [PATCH] --- yaml --- r: 160789 b: refs/heads/master c: 42ff4cf957b695250534e540375e23507c722327 h: refs/heads/master i: 160787: 9a31bed291a4d794c7c67377a490d0726306dc7a v: v3 --- [refs] | 2 +- trunk/arch/arm/mach-w90x900/mach-w90p910evb.c | 23 +++++++++++++++++++ 2 files changed, 24 insertions(+), 1 deletion(-) diff --git a/[refs] b/[refs] index 0a2c45797971..80bf9a056a70 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: 0abe1856bdb68ef699c00949cf9f81fbec98d499 +refs/heads/master: 42ff4cf957b695250534e540375e23507c722327 diff --git a/trunk/arch/arm/mach-w90x900/mach-w90p910evb.c b/trunk/arch/arm/mach-w90x900/mach-w90p910evb.c index 7a62bd348e80..3b9fa312d9f5 100644 --- a/trunk/arch/arm/mach-w90x900/mach-w90p910evb.c +++ b/trunk/arch/arm/mach-w90x900/mach-w90p910evb.c @@ -228,6 +228,28 @@ struct platform_device w90x900_device_usbgadget = { }; EXPORT_SYMBOL(w90x900_device_usbgadget); +/* FMI Device */ + +static struct resource w90p910_fmi_resource[] = { + [0] = { + .start = W90X900_PA_FMI, + .end = W90X900_PA_FMI + W90X900_SZ_FMI - 1, + .flags = IORESOURCE_MEM, + }, + [1] = { + .start = IRQ_FMI, + .end = IRQ_FMI, + .flags = IORESOURCE_IRQ, + } +}; + +static struct platform_device w90p910_device_fmi = { + .name = "w90p910-fmi", + .id = -1, + .num_resources = ARRAY_SIZE(w90p910_fmi_resource), + .resource = w90p910_fmi_resource, +}; + static struct map_desc w90p910_iodesc[] __initdata = { }; @@ -242,6 +264,7 @@ static struct platform_device *w90p910evb_dev[] __initdata = { &w90x900_device_rtc, &w90x900_device_kpi, &w90x900_device_usbgadget, + &w90p910_device_fmi, }; static void __init w90p910evb_map_io(void)