securemsm-kernel: enable non-qtee modules

Fix compilation issues and enable all modules bound
by TARGET_KERNEL_DLKM_SECURE_MSM_OVERRIDE.

Change-Id: Id8e2d5ecb580d5fd200fe5e5e899202046136976
Signed-off-by: Gaurav Kashyap <quic_gaurkash@quicinc.com>
This commit is contained in:
Gaurav Kashyap
2023-09-20 11:41:10 -07:00
부모 c363344909
커밋 154b6011b0
10개의 변경된 파일88개의 추가작업 그리고 16개의 파일을 삭제

파일 보기

@@ -26,6 +26,7 @@
#include "linux/qcedev.h"
#include <linux/interconnect.h>
#include <linux/delay.h>
#include <linux/version.h>
#include <crypto/hash.h>
#include "qcedevi.h"
@@ -2519,7 +2520,11 @@ static int qcedev_probe_device(struct platform_device *pdev)
return rc;
}
#if (KERNEL_VERSION(6, 3, 0) <= LINUX_VERSION_CODE)
driver_class = class_create(QCEDEV_DEV);
#else
driver_class = class_create(THIS_MODULE, QCEDEV_DEV);
#endif
if (IS_ERR(driver_class)) {
rc = -ENOMEM;
pr_err("class_create failed %d\n", rc);