aboutsummaryrefslogtreecommitdiffstats
path: root/arch/arm
diff options
context:
space:
mode:
authorFelipe Contreras <felipe.contreras@gmail.com>2010-06-11 11:51:44 -0400
committerHiroshi DOYU <Hiroshi.DOYU@nokia.com>2010-08-04 08:50:19 -0400
commit1f2c4dfd30edfe9125a00d76596ebb3adabd8a5a (patch)
tree6439fad46ec029d807f6b5213e50902aa3686a88 /arch/arm
parentfc9960b2823d581ab8a1541fc8b9f2748ee3e5f2 (diff)
omap: mailbox: add IRQ names
Will be useful to identify them later. Signed-off-by: Felipe Contreras <felipe.contreras@gmail.com> Signed-off-by: Hiroshi DOYU <Hiroshi.DOYU@nokia.com>
Diffstat (limited to 'arch/arm')
-rw-r--r--arch/arm/mach-omap1/devices.c1
-rw-r--r--arch/arm/mach-omap2/devices.c4
2 files changed, 5 insertions, 0 deletions
diff --git a/arch/arm/mach-omap1/devices.c b/arch/arm/mach-omap1/devices.c
index da796f2df27d..314fea3074b5 100644
--- a/arch/arm/mach-omap1/devices.c
+++ b/arch/arm/mach-omap1/devices.c
@@ -82,6 +82,7 @@ static struct resource mbox_resources[] = {
82 { 82 {
83 .start = INT_DSP_MAILBOX1, 83 .start = INT_DSP_MAILBOX1,
84 .flags = IORESOURCE_IRQ, 84 .flags = IORESOURCE_IRQ,
85 .name = "dsp",
85 }, 86 },
86}; 87};
87 88
diff --git a/arch/arm/mach-omap2/devices.c b/arch/arm/mach-omap2/devices.c
index 03e6c9ed82a4..56e60139c39d 100644
--- a/arch/arm/mach-omap2/devices.c
+++ b/arch/arm/mach-omap2/devices.c
@@ -153,10 +153,12 @@ static struct resource omap2_mbox_resources[] = {
153 { 153 {
154 .start = INT_24XX_MAIL_U0_MPU, 154 .start = INT_24XX_MAIL_U0_MPU,
155 .flags = IORESOURCE_IRQ, 155 .flags = IORESOURCE_IRQ,
156 .name = "dsp",
156 }, 157 },
157 { 158 {
158 .start = INT_24XX_MAIL_U3_MPU, 159 .start = INT_24XX_MAIL_U3_MPU,
159 .flags = IORESOURCE_IRQ, 160 .flags = IORESOURCE_IRQ,
161 .name = "iva",
160 }, 162 },
161}; 163};
162static int omap2_mbox_resources_sz = ARRAY_SIZE(omap2_mbox_resources); 164static int omap2_mbox_resources_sz = ARRAY_SIZE(omap2_mbox_resources);
@@ -175,6 +177,7 @@ static struct resource omap3_mbox_resources[] = {
175 { 177 {
176 .start = INT_24XX_MAIL_U0_MPU, 178 .start = INT_24XX_MAIL_U0_MPU,
177 .flags = IORESOURCE_IRQ, 179 .flags = IORESOURCE_IRQ,
180 .name = "dsp",
178 }, 181 },
179}; 182};
180static int omap3_mbox_resources_sz = ARRAY_SIZE(omap3_mbox_resources); 183static int omap3_mbox_resources_sz = ARRAY_SIZE(omap3_mbox_resources);
@@ -196,6 +199,7 @@ static struct resource omap4_mbox_resources[] = {
196 { 199 {
197 .start = OMAP44XX_IRQ_MAIL_U0, 200 .start = OMAP44XX_IRQ_MAIL_U0,
198 .flags = IORESOURCE_IRQ, 201 .flags = IORESOURCE_IRQ,
202 .name = "mbox",
199 }, 203 },
200}; 204};
201static int omap4_mbox_resources_sz = ARRAY_SIZE(omap4_mbox_resources); 205static int omap4_mbox_resources_sz = ARRAY_SIZE(omap4_mbox_resources);