diff options
author | Len Brown <len.brown@intel.com> | 2005-09-08 01:45:47 -0400 |
---|---|---|
committer | Len Brown <len.brown@intel.com> | 2005-09-08 01:45:47 -0400 |
commit | 64e47488c913ac704d465a6af86a26786d1412a5 (patch) | |
tree | d3b0148592963dcde26e4bb35ddfec8b1eaf8e23 /arch/arm/mach-pxa/poodle.c | |
parent | 4a35a46bf1cda4737c428380d1db5d15e2590d18 (diff) | |
parent | caf39e87cc1182f7dae84eefc43ca14d54c78ef9 (diff) |
Merge linux-2.6 with linux-acpi-2.6
Diffstat (limited to 'arch/arm/mach-pxa/poodle.c')
-rw-r--r-- | arch/arm/mach-pxa/poodle.c | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/arch/arm/mach-pxa/poodle.c b/arch/arm/mach-pxa/poodle.c index 0e4f6fab100a..47cfb8bb8318 100644 --- a/arch/arm/mach-pxa/poodle.c +++ b/arch/arm/mach-pxa/poodle.c | |||
@@ -62,6 +62,15 @@ struct platform_device poodle_scoop_device = { | |||
62 | .resource = poodle_scoop_resources, | 62 | .resource = poodle_scoop_resources, |
63 | }; | 63 | }; |
64 | 64 | ||
65 | static struct scoop_pcmcia_dev poodle_pcmcia_scoop[] = { | ||
66 | { | ||
67 | .dev = &poodle_scoop_device.dev, | ||
68 | .irq = POODLE_IRQ_GPIO_CF_IRQ, | ||
69 | .cd_irq = POODLE_IRQ_GPIO_CF_CD, | ||
70 | .cd_irq_str = "PCMCIA0 CD", | ||
71 | }, | ||
72 | }; | ||
73 | |||
65 | 74 | ||
66 | /* LoCoMo device */ | 75 | /* LoCoMo device */ |
67 | static struct resource locomo_resources[] = { | 76 | static struct resource locomo_resources[] = { |
@@ -147,6 +156,9 @@ static void __init poodle_init(void) | |||
147 | 156 | ||
148 | set_pxa_fb_info(&poodle_fb_info); | 157 | set_pxa_fb_info(&poodle_fb_info); |
149 | 158 | ||
159 | scoop_num = 1; | ||
160 | scoop_devs = &poodle_pcmcia_scoop[0]; | ||
161 | |||
150 | ret = platform_add_devices(devices, ARRAY_SIZE(devices)); | 162 | ret = platform_add_devices(devices, ARRAY_SIZE(devices)); |
151 | if (ret) { | 163 | if (ret) { |
152 | printk(KERN_WARNING "poodle: Unable to register LoCoMo device\n"); | 164 | printk(KERN_WARNING "poodle: Unable to register LoCoMo device\n"); |