crypto: tegra: Fix build for Linux v6.11

In Linux v6.11, the 'platform_driver' structure 'remove' callback was
updated to return void instead of 'int'. Fix the build for Linux v6.11
by simply removing the 'remove' callback for the Tegra SE KDS driver
because it does nothing.

Bug 4749580

Change-Id: Ic335005a99ff7387053bfb78c994bbabafba7b81
Signed-off-by: Jon Hunter <jonathanh@nvidia.com>
Reviewed-on: https://git-master.nvidia.com/r/c/linux-nv-oot/+/3242554
Reviewed-by: Akhil R <akhilrajeev@nvidia.com>
GVS: buildbot_gerritrpt <buildbot_gerritrpt@nvidia.com>
Reviewed-by: svcacv <svcacv@nvidia.com>
This commit is contained in:
Jon Hunter
2024-11-05 06:18:13 +00:00
parent 1a07aff1bc
commit 9410c97b90

View File

@@ -210,11 +210,6 @@ static int tegra_kds_probe(struct platform_device *pdev)
return tegra_kds_region_setup(kds);
}
static int tegra_kds_remove(struct platform_device *pdev)
{
return 0;
}
static const struct of_device_id tegra_kds_of_match[] = {
{
.compatible = "nvidia,tegra264-kds",
@@ -229,7 +224,6 @@ static struct platform_driver tegra_kds_driver = {
.of_match_table = tegra_kds_of_match,
},
.probe = tegra_kds_probe,
.remove = tegra_kds_remove,
};
module_platform_driver(tegra_kds_driver);