mirror of
git://nv-tegra.nvidia.com/linux-nv-oot.git
synced 2025-12-22 17:25:35 +03:00
In Linux v6.11, the 'platform_driver' structure 'remove' callback was updated to return void instead of 'int'. Update the Tegra264 memory drivers as necessary to ensure that they can be built for Linux v6.11+ kernels. The mem-qual driver is missing the vmalloc.h header file and this also causes the build to fail for Linux v6.10+ kernels to fail. Finally, remove the version.h file from the mem-qual driver as this is not needed. Bug 4749580 Change-Id: I2f6273dff68fddf0d4eff4c2f4d57c445b3de291 Signed-off-by: Jon Hunter <jonathanh@nvidia.com> Reviewed-on: https://git-master.nvidia.com/r/c/linux-nv-oot/+/3235930 GVS: buildbot_gerritrpt <buildbot_gerritrpt@nvidia.com> Reviewed-by: Brad Griffis <bgriffis@nvidia.com>