mirror of
https://github.com/openwrt/openwrt.git
synced 2024-12-23 15:32:33 +00:00
b765f4be40
Refreshed all patches. Altered patches: - 150-bridge_allow_receiption_on_disabled_port.patch - 201-extra_optimization.patch Remove upstreamed: - 022-0006-crypto-crypto4xx-properly-set-IV-after-de-and-encryp.patch Compile-tested on: ar71xx, cns3xxx, imx6, x86_64 Runtime-tested on: ar71xx, cns3xxx, imx6 Signed-off-by: Koen Vandeputte <koen.vandeputte@ncentric.com>
38 lines
1.2 KiB
Diff
38 lines
1.2 KiB
Diff
From 00179ef6e3c4e5db6258cd6e273e4063b8437d18 Mon Sep 17 00:00:00 2001
|
|
From: Christian Lamparter <chunkeey@gmail.com>
|
|
Date: Thu, 21 Dec 2017 15:10:18 +0100
|
|
Subject: [PATCH 3/6] 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 <chunkeey@gmail.com>
|
|
---
|
|
drivers/crypto/amcc/crypto4xx_core.c | 2 +-
|
|
drivers/crypto/amcc/crypto4xx_core.h | 1 -
|
|
2 files changed, 1 insertion(+), 2 deletions(-)
|
|
|
|
--- a/drivers/crypto/amcc/crypto4xx_core.c
|
|
+++ b/drivers/crypto/amcc/crypto4xx_core.c
|
|
@@ -1379,7 +1379,7 @@ static int crypto4xx_probe(struct platfo
|
|
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;
|
|
|
|
--- a/drivers/crypto/amcc/crypto4xx_core.h
|
|
+++ b/drivers/crypto/amcc/crypto4xx_core.h
|
|
@@ -82,7 +82,6 @@ struct pd_uinfo {
|
|
|
|
struct crypto4xx_device {
|
|
struct crypto4xx_core_device *core_dev;
|
|
- char *name;
|
|
void __iomem *ce_base;
|
|
void __iomem *trng_base;
|
|
|