The driver name must match the actual driver name of the kernel.
Signed-off-by: Wenkai Lin linwenkai6@hisilicon.com --- drv/hisi_sec.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drv/hisi_sec.c b/drv/hisi_sec.c index 0527bff..a84cc7a 100644 --- a/drv/hisi_sec.c +++ b/drv/hisi_sec.c @@ -527,7 +527,7 @@ static int hisi_sec_get_usage(void *param)
#define GEN_SEC_ALG_DRIVER(sec_alg_name) \ {\ - .drv_name = "hisi_sec2_cipher",\ + .drv_name = "hisi_sec2",\ .alg_name = sec_alg_name,\ .priority = UADK_ALG_HW,\ .priv_size = sizeof(struct hisi_sec_ctx),\