mirror of
git://nv-tegra.nvidia.com/linux-nv-oot.git
synced 2025-12-22 17:25:35 +03:00
host1x_emu: Fix symbol-emu header.
If the flag "CONFIG_TEGRA_HOST1X_EMU_DBG_SYMBL" is disabled it cause build failure. Jira HOSTX-5527 Change-Id: I540a1d4e658fac065880d55974d00cd9c3df7b00 Signed-off-by: amitabhd <amitabhd@nvidia.com> Reviewed-on: https://git-master.nvidia.com/r/c/linux-nv-oot/+/3289217 Reviewed-by: Santosh BS <santoshb@nvidia.com> GVS: buildbot_gerritrpt <buildbot_gerritrpt@nvidia.com> Reviewed-by: Raghavendra Vishnu Kumar <rvk@nvidia.com>
This commit is contained in:
@@ -13,8 +13,4 @@
|
||||
#define HOST1X_EMU_EXPORT_SYMBOL(f) EXPORT_SYMBOL(f)
|
||||
#endif
|
||||
|
||||
#ifndef CONFIG_TEGRA_HOST1X_EMU_DBG_SYMBL
|
||||
HOST1X_EMU_EXPORT_DECL(void, host1x_syncpt_fence_scan(struct host1x_syncpt *sp));
|
||||
#endif /*CONFIG_TEGRA_HOST1X_EMU_DBG_SYMBL*/
|
||||
|
||||
#endif /*__HOST1X_EMU_SYMMBOL_H*/
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
/*
|
||||
* SPDX-FileCopyrightText: Copyright (c) 2024 NVIDIA CORPORATION & AFFILIATES. All rights reserved.
|
||||
* SPDX-FileCopyrightText: Copyright (c) 2024-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved.
|
||||
* SPDX-License-Identifier: GPL-2.0-only
|
||||
*/
|
||||
#ifndef __HOST1X_EMU_SYNCPT_H
|
||||
@@ -50,6 +50,10 @@ struct host1x_syncpt {
|
||||
struct list_head list;
|
||||
};
|
||||
|
||||
#ifndef CONFIG_TEGRA_HOST1X_EMU_DBG_SYMBL
|
||||
HOST1X_EMU_EXPORT_DECL(void, host1x_syncpt_fence_scan(struct host1x_syncpt *sp));
|
||||
#endif /*CONFIG_TEGRA_HOST1X_EMU_DBG_SYMBL*/
|
||||
|
||||
/**
|
||||
* Description: Initialize sync point array
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user