forked from ~ljy/RK356X_SDK_RELEASE

hc
2024-10-22 8ac6c7a54ed1b98d142dce24b11c6de6a1e239a5
kernel/drivers/fpga/altera-pr-ip-core-plat.c
....@@ -32,7 +32,9 @@
3232 {
3333 struct device *dev = &pdev->dev;
3434
35
- return alt_pr_unregister(dev);
35
+ alt_pr_unregister(dev);
36
+
37
+ return 0;
3638 }
3739
3840 static const struct of_device_id alt_pr_of_match[] = {