mirror of
git://nv-tegra.nvidia.com/linux-nv-oot.git
synced 2025-12-22 09:11:26 +03:00
24826db83faa8a17ead7c111cbbcd827fc2d85aa
In Linux v6.11, the 'platform_driver' structure 'remove' callback was updated to return void instead of 'int'. This change impacts all OOT platform drivers and so instead of editing each manually, add a coccinelle script to handle updating all platform drivers. This script is ran by executing the following command ... $ spatch --in-place \ --sp-file /path/to/scripts/coccinelle/platform_driver_remove.cocci <driver-source-directory> Finally, add a test to the conftest script that is used to detect if the platform driver 'remove' callback returns 'void'. Bug 4749580 Change-Id: I53d25cc36cc3be97a6eeeb4ccbdf9b7dfda338a9 Signed-off-by: Jon Hunter <jonathanh@nvidia.com> Reviewed-on: https://git-master.nvidia.com/r/c/linux-nv-oot/+/3176834 Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com> Tested-by: mobile promotions <svcmobile_promotions@nvidia.com>
Description
No description provided