diff options
Diffstat (limited to 'arch/arm/mach-pxa/corgi.c')
-rw-r--r-- | arch/arm/mach-pxa/corgi.c | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/arch/arm/mach-pxa/corgi.c b/arch/arm/mach-pxa/corgi.c index 86b862f56e7e..06ea730e8675 100644 --- a/arch/arm/mach-pxa/corgi.c +++ b/arch/arm/mach-pxa/corgi.c | |||
@@ -60,6 +60,15 @@ static struct scoop_config corgi_scoop_setup = { | |||
60 | .io_out = CORGI_SCOOP_IO_OUT, | 60 | .io_out = CORGI_SCOOP_IO_OUT, |
61 | }; | 61 | }; |
62 | 62 | ||
63 | static struct scoop_pcmcia_dev corgi_pcmcia_scoop[] = { | ||
64 | { | ||
65 | .dev = &corgiscoop_device.dev, | ||
66 | .irq = CORGI_IRQ_GPIO_CF_IRQ, | ||
67 | .cd_irq = CORGI_IRQ_GPIO_CF_CD, | ||
68 | .cd_irq_str = "PCMCIA0 CD", | ||
69 | }, | ||
70 | }; | ||
71 | |||
63 | struct platform_device corgiscoop_device = { | 72 | struct platform_device corgiscoop_device = { |
64 | .name = "sharp-scoop", | 73 | .name = "sharp-scoop", |
65 | .id = -1, | 74 | .id = -1, |
@@ -241,6 +250,9 @@ static void __init corgi_init(void) | |||
241 | pxa_set_udc_info(&udc_info); | 250 | pxa_set_udc_info(&udc_info); |
242 | pxa_set_mci_info(&corgi_mci_platform_data); | 251 | pxa_set_mci_info(&corgi_mci_platform_data); |
243 | 252 | ||
253 | scoop_num = 1; | ||
254 | scoop_devs = &corgi_pcmcia_scoop[0]; | ||
255 | |||
244 | platform_add_devices(devices, ARRAY_SIZE(devices)); | 256 | platform_add_devices(devices, ARRAY_SIZE(devices)); |
245 | } | 257 | } |
246 | 258 | ||