summaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-mmp/mmp2.c
diff options
context:
space:
mode:
authorHaojian Zhuang <haojian.zhuang@marvell.com>2012-02-27 10:37:02 +0800
committerHaojian Zhuang <haojian.zhuang@marvell.com>2012-02-28 10:21:56 +0800
commit93413c36d05573262aa5fd4da2f0f9ca90f39b75 (patch)
tree417d6e6c8238edcff5bd2a50308952355ffde9d9 /arch/arm/mach-mmp/mmp2.c
parent9a01ec304dbe167fb1d2efd85fcb2628b7aaba00 (diff)
downloadop-kernel-dev-93413c36d05573262aa5fd4da2f0f9ca90f39b75.zip
op-kernel-dev-93413c36d05573262aa5fd4da2f0f9ca90f39b75.tar.gz
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>
Diffstat (limited to 'arch/arm/mach-mmp/mmp2.c')
-rw-r--r--arch/arm/mach-mmp/mmp2.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/arm/mach-mmp/mmp2.c b/arch/arm/mach-mmp/mmp2.c
index 617c60a..c709a24 100644
--- a/arch/arm/mach-mmp/mmp2.c
+++ b/arch/arm/mach-mmp/mmp2.c
@@ -223,6 +223,7 @@ struct resource mmp2_resource_gpio[] = {
}, {
.start = IRQ_MMP2_GPIO,
.end = IRQ_MMP2_GPIO,
+ .name = "gpio_mux",
.flags = IORESOURCE_IRQ,
},
};
OpenPOWER on IntegriCloud