|
@@ -645,8 +645,8 @@ static int __devinit mvebu_gpio_probe(struct platform_device *pdev)
|
|
IRQ_NOREQUEST, IRQ_LEVEL | IRQ_NOPROBE);
|
|
IRQ_NOREQUEST, IRQ_LEVEL | IRQ_NOPROBE);
|
|
|
|
|
|
/* Setup irq domain on top of the generic chip. */
|
|
/* Setup irq domain on top of the generic chip. */
|
|
- mvchip->domain = irq_domain_add_legacy(np, mvchip->chip.ngpio,
|
|
|
|
- mvchip->irqbase, 0,
|
|
|
|
|
|
+ mvchip->domain = irq_domain_add_simple(np, mvchip->chip.ngpio,
|
|
|
|
+ mvchip->irqbase,
|
|
&irq_domain_simple_ops,
|
|
&irq_domain_simple_ops,
|
|
mvchip);
|
|
mvchip);
|
|
if (!mvchip->domain) {
|
|
if (!mvchip->domain) {
|