mirror of
git://nv-tegra.nvidia.com/linux-nv-oot.git
synced 2025-12-24 10:11:26 +03:00
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:
committed by
mobile promotions
parent
9fc2b0b487
commit
cfbdbf837b
@@ -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
|
||||
|
||||
17
drivers/crypto/tegra/tegra-se-kds.c
Normal file
17
drivers/crypto/tegra/tegra-se-kds.c
Normal 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");
|
||||
Reference in New Issue
Block a user