Files
linux-nv-oot/drivers/firmware/tegra/ivc_ext_dummy.c
Manish Bhardwaj 65d85c5c16 nvidia-oot: ivc_ext: add dummy driver support
For some of the kernel ivc_ext is part of core kernel and
hence it is nto required to use the OOT ivc_ext driver.

However, some packaging still expect the ivc_ext.ko from
the OOT path. To trick the packaging file, add dummy ivc_ext
driver which does not have anything other than module_init/module_exit.

Bug 4551265

Change-Id: I315c9f302e65b4cdc1376815a7bc23e4b7ca3e00
Signed-off-by: Manish Bhardwaj <mbhardwaj@nvidia.com>
Reviewed-on: https://git-master.nvidia.com/r/c/linux-nv-oot/+/3214053
Reviewed-by: Laxman Dewangan <ldewangan@nvidia.com>
Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>
GVS: buildbot_gerritrpt <buildbot_gerritrpt@nvidia.com>
2025-07-24 10:19:07 +00:00

22 lines
580 B
C

// SPDX-License-Identifier: GPL-2.0-only
// SPDX-FileCopyrightText: Copyright (c) 2024 NVIDIA CORPORATION & AFFILIATES. All rights reserved.
#include <linux/module.h>
static int __init ivc_driver_dummy_init(void)
{
pr_info("Inserting dummy ivc_ext.ko module");
return 0;
}
module_init(ivc_driver_dummy_init);
static void __exit ivc_driver_dummy_exit(void)
{
pr_info("Removing dummy ivc_ext.ko module");
}
module_exit(ivc_driver_dummy_exit);
MODULE_AUTHOR("Laxman Dewangan <ldewangan@nvidia.com>");
MODULE_DESCRIPTION("Extended IVC Dummy Driver");
MODULE_LICENSE("GPL v2");