From 57268aba3834ae1fde93ccc95f2e0540ba98cedd Mon Sep 17 00:00:00 2001 From: Christian Lamparter Date: Fri, 22 Dec 2017 21:18:37 +0100 Subject: crypto: crypto4xx - fix missing irq devname crypto4xx_device's name variable is not set to anything. The common devname for request_irq seems to be the module name. This will fix the seemingly anonymous interrupt entry in /proc/interrupts for crypto4xx. Signed-off-by: Christian Lamparter Signed-off-by: Herbert Xu --- drivers/crypto/amcc/crypto4xx_core.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'drivers/crypto/amcc/crypto4xx_core.c') diff --git a/drivers/crypto/amcc/crypto4xx_core.c b/drivers/crypto/amcc/crypto4xx_core.c index fde0136029f1..4b03318775ac 100644 --- a/drivers/crypto/amcc/crypto4xx_core.c +++ b/drivers/crypto/amcc/crypto4xx_core.c @@ -1370,7 +1370,7 @@ static int crypto4xx_probe(struct platform_device *ofdev) rc = request_irq(core_dev->irq, is_revb ? crypto4xx_ce_interrupt_handler_revb : crypto4xx_ce_interrupt_handler, 0, - core_dev->dev->name, dev); + KBUILD_MODNAME, dev); if (rc) goto err_request_irq; -- cgit v1.2.3