mirror of
git://nv-tegra.nvidia.com/linux-nv-oot.git
synced 2025-12-22 09:11:26 +03:00
r8126 driver build is disabled on K6.10 and later. This is causing the packaging failure where module is not available. Add dummy driver when real driver is not available to make packaging success. Bug 4478230 Change-Id: I6ceef7f92863499c58edaf4ddd19ae65b12a2a00 Signed-off-by: Revanth Kumar Uppala <ruppala@nvidia.com> Reviewed-on: https://git-master.nvidia.com/r/c/linux-nv-oot/+/3158781 Reviewed-by: Bibek Basu <bbasu@nvidia.com> GVS: buildbot_gerritrpt <buildbot_gerritrpt@nvidia.com>
17 lines
443 B
C
17 lines
443 B
C
// SPDX-License-Identifier: GPL-2.0-only
|
|
// SPDX-FileCopyrightText: Copyright (c) 2024 NVIDIA CORPORATION & AFFILIATES. All rights reserved.
|
|
|
|
#include <linux/module.h>
|
|
|
|
/* Dummy implementation for module */
|
|
static int __init r8126_dummy_dummy_init(void)
|
|
{
|
|
return 0;
|
|
}
|
|
device_initcall(r8126_dummy_dummy_init);
|
|
|
|
MODULE_AUTHOR("Revanth Kumar Uppala <ruppala@nvidia.com>");
|
|
MODULE_DESCRIPTION("Dummy R8126 dummy driver");
|
|
MODULE_LICENSE("GPL");
|
|
|