Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: Make legion_remove return void and set remove_new
The type of .remove in platform_driver changed from int (*)(struct platform_drive*) to void (*)(struct platform_drive*) in kernel 6.11 to force migration. In version before .remove_new has type void (*)(struct platform_drive*) to allows a migration. We use remove_new to make it commpatible with different kernels.
- Loading branch information