summaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-pxa/poodle.c
diff options
context:
space:
mode:
authorEric Miao <eric.y.miao@gmail.com>2010-02-04 18:07:33 -0800
committerEric Miao <eric.y.miao@gmail.com>2010-03-02 07:40:50 +0800
commitac609d266e4af4ebf586d610bd76e04dddae0c4c (patch)
tree24465ed348c37c8abcfadd80676912b395f196eb /arch/arm/mach-pxa/poodle.c
parent00dd8027b913088ff9b656c5aaa6336c303b7f26 (diff)
downloadop-kernel-dev-ac609d266e4af4ebf586d610bd76e04dddae0c4c.zip
op-kernel-dev-ac609d266e4af4ebf586d610bd76e04dddae0c4c.tar.gz
[ARM] locomo: allow cascaded IRQ base to be specified by platforms
Signed-off-by: Eric Miao <eric.y.miao@gmail.com>
Diffstat (limited to 'arch/arm/mach-pxa/poodle.c')
-rw-r--r--arch/arm/mach-pxa/poodle.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/arch/arm/mach-pxa/poodle.c b/arch/arm/mach-pxa/poodle.c
index 1b9d745..d58a524 100644
--- a/arch/arm/mach-pxa/poodle.c
+++ b/arch/arm/mach-pxa/poodle.c
@@ -174,11 +174,18 @@ static struct resource locomo_resources[] = {
},
};
+static struct locomo_platform_data locomo_info = {
+ .irq_base = IRQ_BOARD_START,
+};
+
struct platform_device poodle_locomo_device = {
.name = "locomo",
.id = 0,
.num_resources = ARRAY_SIZE(locomo_resources),
.resource = locomo_resources,
+ .dev = {
+ .platform_data = &locomo_info,
+ },
};
EXPORT_SYMBOL(poodle_locomo_device);
OpenPOWER on IntegriCloud