diff options
author | Haojian Zhuang <haojian.zhuang@marvell.com> | 2012-02-26 21:37:02 -0500 |
---|---|---|
committer | Haojian Zhuang <haojian.zhuang@marvell.com> | 2012-02-27 21:21:56 -0500 |
commit | 93413c36d05573262aa5fd4da2f0f9ca90f39b75 (patch) | |
tree | 417d6e6c8238edcff5bd2a50308952355ffde9d9 | |
parent | 9a01ec304dbe167fb1d2efd85fcb2628b7aaba00 (diff) |
ARM: mmp: append irq name of gpio device
IRQ name is required in gpio-pxa driver. So we need to append the name
in gpio device. Otherwise, we can't register gpio-pxa driver
successfully.
Signed-off-by: Haojian Zhuang <haojian.zhuang@marvell.com>
-rw-r--r-- | arch/arm/mach-mmp/mmp2.c | 1 | ||||
-rw-r--r-- | arch/arm/mach-mmp/pxa168.c | 1 | ||||
-rw-r--r-- | arch/arm/mach-mmp/pxa910.c | 1 |
3 files changed, 3 insertions, 0 deletions
diff --git a/arch/arm/mach-mmp/mmp2.c b/arch/arm/mach-mmp/mmp2.c index 617c60a170a4..c709a24a9d25 100644 --- a/arch/arm/mach-mmp/mmp2.c +++ b/arch/arm/mach-mmp/mmp2.c | |||
@@ -223,6 +223,7 @@ struct resource mmp2_resource_gpio[] = { | |||
223 | }, { | 223 | }, { |
224 | .start = IRQ_MMP2_GPIO, | 224 | .start = IRQ_MMP2_GPIO, |
225 | .end = IRQ_MMP2_GPIO, | 225 | .end = IRQ_MMP2_GPIO, |
226 | .name = "gpio_mux", | ||
226 | .flags = IORESOURCE_IRQ, | 227 | .flags = IORESOURCE_IRQ, |
227 | }, | 228 | }, |
228 | }; | 229 | }; |
diff --git a/arch/arm/mach-mmp/pxa168.c b/arch/arm/mach-mmp/pxa168.c index 7bc17eaa12eb..9f612565b140 100644 --- a/arch/arm/mach-mmp/pxa168.c +++ b/arch/arm/mach-mmp/pxa168.c | |||
@@ -167,6 +167,7 @@ struct resource pxa168_resource_gpio[] = { | |||
167 | }, { | 167 | }, { |
168 | .start = IRQ_PXA168_GPIOX, | 168 | .start = IRQ_PXA168_GPIOX, |
169 | .end = IRQ_PXA168_GPIOX, | 169 | .end = IRQ_PXA168_GPIOX, |
170 | .name = "gpio_mux", | ||
170 | .flags = IORESOURCE_IRQ, | 171 | .flags = IORESOURCE_IRQ, |
171 | }, | 172 | }, |
172 | }; | 173 | }; |
diff --git a/arch/arm/mach-mmp/pxa910.c b/arch/arm/mach-mmp/pxa910.c index 3241a25784d0..0c87e69adf9f 100644 --- a/arch/arm/mach-mmp/pxa910.c +++ b/arch/arm/mach-mmp/pxa910.c | |||
@@ -173,6 +173,7 @@ struct resource pxa910_resource_gpio[] = { | |||
173 | }, { | 173 | }, { |
174 | .start = IRQ_PXA910_AP_GPIO, | 174 | .start = IRQ_PXA910_AP_GPIO, |
175 | .end = IRQ_PXA910_AP_GPIO, | 175 | .end = IRQ_PXA910_AP_GPIO, |
176 | .name = "gpio_mux", | ||
176 | .flags = IORESOURCE_IRQ, | 177 | .flags = IORESOURCE_IRQ, |
177 | }, | 178 | }, |
178 | }; | 179 | }; |