Fix "Section mismatches detected"

Error:
Section mismatch in reference from the function
tegra_hv_probe() to the function .init.text:tegra_hv_setup()

Bug 3974840

Change-Id: Ie63e9db981836345512a0678e39b0574384e6c5a
Signed-off-by: Bruce Xu <brucex@nvidia.com>
Reviewed-on: https://git-master.nvidia.com/r/c/linux-nv-oot/+/2901637
(cherry picked from commit ac941e3f8846fb4a7e20cf6df86e12be847bc530)
Reviewed-on: https://git-master.nvidia.com/r/c/linux-nv-oot/+/2910057
Reviewed-by: svcacv <svcacv@nvidia.com>
Reviewed-by: Shardar Mohammed <smohammed@nvidia.com>
Reviewed-by: Laxman Dewangan <ldewangan@nvidia.com>
GVS: Gerrit_Virtual_Submit <buildbot_gerritrpt@nvidia.com>
Tested-by: Shardar Mohammed <smohammed@nvidia.com>
This commit is contained in:
Akshay Tigga
2023-05-10 12:08:10 -07:00
committed by mobile promotions
parent 75ac42b84c
commit d4d60fd1f8

View File

@@ -1,6 +1,6 @@
/* SPDX-License-Identifier: GPL-2.0-only */
/*
* Copyright (c) 2022, NVIDIA CORPORATION & AFFILIATES. All rights reserved.
* Copyright (c) 2022-2023, NVIDIA CORPORATION & AFFILIATES. All rights reserved.
*/
#include <linux/kernel.h>
@@ -397,7 +397,7 @@ static ssize_t vmid_show(struct class *class,
}
static CLASS_ATTR_RO(vmid);
static int __init tegra_hv_setup(struct tegra_hv_data *hvd)
static int tegra_hv_setup(struct tegra_hv_data *hvd)
{
const int intr_property_size = 3;
uint64_t info_page;