OSDN Git Service

staging: most: hdm-dim2: fix dim2-ip interrupt names
authorAndrey Shvetsov <andrey.shvetsov@k2l.de>
Thu, 15 Sep 2016 14:19:12 +0000 (16:19 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 15 Sep 2016 17:23:29 +0000 (19:23 +0200)
This patch fixes the DIM2 IP interrupt names.

Signed-off-by: Andrey Shvetsov <andrey.shvetsov@k2l.de>
Signed-off-by: Christian Gromm <christian.gromm@microchip.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/most/hdm-dim2/dim2_hdm.c

index c7e9ca4..0350798 100644 (file)
@@ -733,14 +733,14 @@ static int dim2_probe(struct platform_device *pdev)
 
        irq = platform_get_irq(pdev, 0);
        if (irq < 0) {
-               dev_err(&pdev->dev, "failed to get irq\n");
+               dev_err(&pdev->dev, "failed to get ahb0_int irq\n");
                return -ENODEV;
        }
 
        ret = devm_request_irq(&pdev->dev, irq, dim2_ahb_isr, 0,
-                              "mlb_ahb0", dev);
+                              "dim2_ahb0_int", dev);
        if (ret) {
-               dev_err(&pdev->dev, "failed to request IRQ: %d\n", irq);
+               dev_err(&pdev->dev, "failed to request ahb0_int irq %d\n", irq);
                return ret;
        }
        init_waitqueue_head(&dev->netinfo_waitq);