Commit 93413c36 authored by Haojian Zhuang's avatar Haojian Zhuang

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: default avatarHaojian Zhuang <haojian.zhuang@marvell.com>
parent 9a01ec30
...@@ -223,6 +223,7 @@ struct resource mmp2_resource_gpio[] = { ...@@ -223,6 +223,7 @@ struct resource mmp2_resource_gpio[] = {
}, { }, {
.start = IRQ_MMP2_GPIO, .start = IRQ_MMP2_GPIO,
.end = IRQ_MMP2_GPIO, .end = IRQ_MMP2_GPIO,
.name = "gpio_mux",
.flags = IORESOURCE_IRQ, .flags = IORESOURCE_IRQ,
}, },
}; };
......
...@@ -167,6 +167,7 @@ struct resource pxa168_resource_gpio[] = { ...@@ -167,6 +167,7 @@ struct resource pxa168_resource_gpio[] = {
}, { }, {
.start = IRQ_PXA168_GPIOX, .start = IRQ_PXA168_GPIOX,
.end = IRQ_PXA168_GPIOX, .end = IRQ_PXA168_GPIOX,
.name = "gpio_mux",
.flags = IORESOURCE_IRQ, .flags = IORESOURCE_IRQ,
}, },
}; };
......
...@@ -173,6 +173,7 @@ struct resource pxa910_resource_gpio[] = { ...@@ -173,6 +173,7 @@ struct resource pxa910_resource_gpio[] = {
}, { }, {
.start = IRQ_PXA910_AP_GPIO, .start = IRQ_PXA910_AP_GPIO,
.end = IRQ_PXA910_AP_GPIO, .end = IRQ_PXA910_AP_GPIO,
.name = "gpio_mux",
.flags = IORESOURCE_IRQ, .flags = IORESOURCE_IRQ,
}, },
}; };
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment