mirror of
git://nv-tegra.nvidia.com/linux-nv-oot.git
synced 2025-12-24 02:01:36 +03:00
tegra:nvmap: do not export symbol for init functions
We can not EXPORT_SYMBOL() on functions marked __init, since they will not be available once the kernel has done running through init level. Hence remove the EXPORT_SYMBOL() calls. Bug 3806590 Change-Id: Ie9fd26fa7220a287b8467aaf6efe03af4427d052 Signed-off-by: Ken Chang <kenc@nvidia.com> Reviewed-on: https://git-master.nvidia.com/r/c/linux-nvidia/+/2782502 (cherry picked from commit ad100e16945b064086d44211adae522208ad5664) Reviewed-on: https://git-master.nvidia.com/r/c/linux-nvidia/+/2840504 Tested-by: mobile promotions <svcmobile_promotions@nvidia.com> Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com>
This commit is contained in:
committed by
Laxman Dewangan
parent
a588f61b8e
commit
76d402ab77
@@ -805,7 +805,6 @@ finish:
|
|||||||
nvmap_init_time += sched_clock() - start;
|
nvmap_init_time += sched_clock() - start;
|
||||||
return ret;
|
return ret;
|
||||||
}
|
}
|
||||||
EXPORT_SYMBOL(nvmap_co_setup);
|
|
||||||
#else
|
#else
|
||||||
int __init nvmap_co_setup(struct reserved_mem *rmem)
|
int __init nvmap_co_setup(struct reserved_mem *rmem)
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user