kae_driver/0002-add-remove-trng.patch
2022-02-22 15:28:36 +08:00

32 lines
886 B
Diff

From 83278e1371ea94d42d45724f32f3a80c3ed0bb26 Mon Sep 17 00:00:00 2001
From: realzhongkeyi <zhongkeyi1@huawei.com>
Date: Tue, 22 Feb 2022 15:25:22 +0800
Subject: [PATCH] add remove trng
---
Makefile | 2 ++
1 file changed, 2 insertions(+)
diff --git a/Makefile b/Makefile
index 497fe40..c4fce47 100644
--- a/Makefile
+++ b/Makefile
@@ -48,12 +48,14 @@ uninstall:
modprobe -r hisi_zip
modprobe -r hisi_hpre
modprobe -r hisi_sec2
+ modprobe -r hisi_trng_v2
modprobe -r hisi_qm
modprobe -r uacce
rm -rf /lib/modules/5.10*/extra/uacce.ko
rm -rf /lib/modules/5.10*/extra/hisi_qm.ko
rm -rf /lib/modules/5.10*/extra/hisi_sec2.ko
rm -rf /lib/modules/5.10*/extra/hisi_hpre.ko
+ rm -rf /lib/modules/5.10*/extra/hisi_trng_v2.ko
rm -rf /lib/modules/5.10*/extra/hisi_zip.ko
rm -rf /etc/modprobe.d/hisi_sec2.conf
rm -rf /etc/modprobe.d/hisi_hpre.conf
--
2.35.0.windows.1