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-sa1100/badge4.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-sa1100/badge4.c')
-rw-r--r-- | arch/arm/mach-sa1100/badge4.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/arch/arm/mach-sa1100/badge4.c b/arch/arm/mach-sa1100/badge4.c index 051ec0f0023c..259cb2c15fff 100644 --- a/arch/arm/mach-sa1100/badge4.c +++ b/arch/arm/mach-sa1100/badge4.c | |||
@@ -51,6 +51,10 @@ static struct resource sa1111_resources[] = { | |||
51 | }, | 51 | }, |
52 | }; | 52 | }; |
53 | 53 | ||
54 | static struct sa1111_platform_data sa1111_info = { | ||
55 | .irq_base = IRQ_BOARD_END, | ||
56 | }; | ||
57 | |||
54 | static u64 sa1111_dmamask = 0xffffffffUL; | 58 | static u64 sa1111_dmamask = 0xffffffffUL; |
55 | 59 | ||
56 | static struct platform_device sa1111_device = { | 60 | static struct platform_device sa1111_device = { |
@@ -59,6 +63,7 @@ static struct platform_device sa1111_device = { | |||
59 | .dev = { | 63 | .dev = { |
60 | .dma_mask = &sa1111_dmamask, | 64 | .dma_mask = &sa1111_dmamask, |
61 | .coherent_dma_mask = 0xffffffff, | 65 | .coherent_dma_mask = 0xffffffff, |
66 | .platform_data = &sa1111_info, | ||
62 | }, | 67 | }, |
63 | .num_resources = ARRAY_SIZE(sa1111_resources), | 68 | .num_resources = ARRAY_SIZE(sa1111_resources), |
64 | .resource = sa1111_resources, | 69 | .resource = sa1111_resources, |