Open yuewuo opened 10 months ago
The following fixes the issue
diff --git a/src/hsdp_pcie_driver_base.c b/src/hsdp_pcie_driver_base.c
index c91dd5e..c379d56 100755
--- a/src/hsdp_pcie_driver_base.c
+++ b/src/hsdp_pcie_driver_base.c
@@ -383,7 +383,7 @@ static int __init xil_hsdp_init(void)
printk(KERN_INFO LOG_PREFIX "xil_hsdp_init\n");
// Register the character device class for the actual files
- xrt_class = class_create(THIS_MODULE, "xil_hsdp_class");
+ xrt_class = class_create("xil_hsdp_class");
if (IS_ERR(xrt_class)) {
xil_hsdp_cleanup();
return PTR_ERR(xrt_class);