]> git.kernelconcepts.de Git - karo-tx-linux.git/blobdiff - drivers/crypto/caam/ctrl.c
Merge remote-tracking branch 'grant/devicetree/next' into for-next
[karo-tx-linux.git] / drivers / crypto / caam / ctrl.c
index 30548701665c8b1cbfc664ae5376e3b38e726b1d..bc6d820812b6a73e83c6596caa48ae7d475c315a 100644 (file)
@@ -227,7 +227,7 @@ static int caam_probe(struct platform_device *pdev)
        topregs = (struct caam_full __iomem *)ctrl;
 
        /* Get the IRQ of the controller (for security violations only) */
-       ctrlpriv->secvio_irq = of_irq_to_resource(nprop, 0, NULL);
+       ctrlpriv->secvio_irq = irq_of_parse_and_map(nprop, 0);
 
        /*
         * Enable DECO watchdogs and, if this is a PHYS_ADDR_T_64BIT kernel,