crypto: tegra: Add dummy tegra SE KDS driver

Add dummy tegra SE kds driver to create the KO always
so that packaging file can add this KO unconditionally
in its package.

Bug 4606591

Change-Id: I65c10ab9cc0ba4fda42d5d16d3f6bea07964a55e
Signed-off-by: Laxman Dewangan <ldewangan@nvidia.com>
Reviewed-on: https://git-master.nvidia.com/r/c/linux-nv-oot/+/3119940
GVS: Gerrit_Virtual_Submit <buildbot_gerritrpt@nvidia.com>
This commit is contained in:
Laxman Dewangan
2024-04-19 17:26:21 +00:00
committed by mobile promotions
parent 9fc2b0b487
commit cfbdbf837b
2 changed files with 19 additions and 1 deletions

View File

@@ -1,5 +1,5 @@
// SPDX-License-Identifier: GPL-2.0-only
// SPDX-FileCopyrightText: Copyright (c) 2023 NVIDIA CORPORATION & AFFILIATES. All rights reserved.
// SPDX-FileCopyrightText: Copyright (c) 2024 NVIDIA CORPORATION & AFFILIATES. All rights reserved.
ccflags-y += -I$(srctree.nvidia)/drivers/gpu/host1x/include
@@ -9,3 +9,4 @@ tegra-se-y += tegra-se-aes.o
tegra-se-y += tegra-se-hash.o
obj-m += tegra-se.o
obj-m += tegra-se-kds.o

View File

@@ -0,0 +1,17 @@
// SPDX-License-Identifier: GPL-2.0
/*
* Copyright (c) 2024, NVIDIA CORPORATION & AFFILIATES. All rights reserved.
*/
#include <linux/module.h>
/* Dummy implementation for module */
static int __init tegra_se_kds_dummy_init(void)
{
return 0;
}
device_initcall(tegra_se_kds_dummy_init);
MODULE_AUTHOR("Laxman Dewangan <ldewangan@nvidia.com>");
MODULE_DESCRIPTION("Dummy Tegra SE KDS driver");
MODULE_LICENSE("GPL V2");