diff options
author | Eric Miao <eric.y.miao@gmail.com> | 2009-12-26 03:23:02 -0500 |
---|---|---|
committer | Eric Miao <eric.y.miao@gmail.com> | 2010-03-01 18:40:51 -0500 |
commit | 19851c58e680f71d087b79b53edbf814193e1d33 (patch) | |
tree | 50a1c533c9953ec5e9c95d970a1e9788cf5308aa /arch/arm/mach-pxa/lubbock.c | |
parent | 08fa159003aa510027951671b94aadc380ab2d2a (diff) |
[ARM] sa1111: allow cascaded IRQs to be used by platforms
Signed-off-by: Eric Miao <eric.y.miao@gmail.com>
Diffstat (limited to 'arch/arm/mach-pxa/lubbock.c')
-rw-r--r-- | arch/arm/mach-pxa/lubbock.c | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/arch/arm/mach-pxa/lubbock.c b/arch/arm/mach-pxa/lubbock.c index 2f5e45e08f5c..63d65a2a0387 100644 --- a/arch/arm/mach-pxa/lubbock.c +++ b/arch/arm/mach-pxa/lubbock.c | |||
@@ -228,11 +228,18 @@ static struct resource sa1111_resources[] = { | |||
228 | }, | 228 | }, |
229 | }; | 229 | }; |
230 | 230 | ||
231 | static struct sa1111_platform_data sa1111_info = { | ||
232 | .irq_base = IRQ_BOARD_END, | ||
233 | }; | ||
234 | |||
231 | static struct platform_device sa1111_device = { | 235 | static struct platform_device sa1111_device = { |
232 | .name = "sa1111", | 236 | .name = "sa1111", |
233 | .id = -1, | 237 | .id = -1, |
234 | .num_resources = ARRAY_SIZE(sa1111_resources), | 238 | .num_resources = ARRAY_SIZE(sa1111_resources), |
235 | .resource = sa1111_resources, | 239 | .resource = sa1111_resources, |
240 | .dev = { | ||
241 | .platform_data = &sa1111_info, | ||
242 | }, | ||
236 | }; | 243 | }; |
237 | 244 | ||
238 | /* ADS7846 is connected through SSP ... and if your board has J5 populated, | 245 | /* ADS7846 is connected through SSP ... and if your board has J5 populated, |