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:
amitabhd
2025-01-23 09:24:09 +00:00
committed by Jon Hunter
parent 2bec5892d2
commit d31f4870be
2 changed files with 5 additions and 5 deletions

View File

@@ -13,8 +13,4 @@
#define HOST1X_EMU_EXPORT_SYMBOL(f) EXPORT_SYMBOL(f) #define HOST1X_EMU_EXPORT_SYMBOL(f) EXPORT_SYMBOL(f)
#endif #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*/ #endif /*__HOST1X_EMU_SYMMBOL_H*/

View File

@@ -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 * SPDX-License-Identifier: GPL-2.0-only
*/ */
#ifndef __HOST1X_EMU_SYNCPT_H #ifndef __HOST1X_EMU_SYNCPT_H
@@ -50,6 +50,10 @@ struct host1x_syncpt {
struct list_head list; 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 * Description: Initialize sync point array
*/ */