mirror of
git://nv-tegra.nvidia.com/linux-nv-oot.git
synced 2025-12-22 09:11:26 +03:00
Avoid function re-definition when FS_DEBUG is not set
add FS_DEBUG to the implementation function to avoid re-definition build error caused by FS_DEBUG is not set with ack user build. Bug 4230728 Change-Id: I0c1d4357ec86f030b386f65cd32bed87b2382557 Signed-off-by: Jian-Min Liu <jianminl@nvidia.com> Reviewed-on: https://git-master.nvidia.com/r/c/linux-nv-oot/+/2952839 Reviewed-by: Kevin Kuo (SW-GPU) <kevkuo@nvidia.com> Reviewed-by: Laxman Dewangan <ldewangan@nvidia.com> GVS: Gerrit_Virtual_Submit <buildbot_gerritrpt@nvidia.com>
This commit is contained in:
committed by
mobile promotions
parent
6883238a21
commit
7bcd11a009
@@ -787,6 +787,7 @@ clean:
|
||||
return PTR_ERR(d);
|
||||
}
|
||||
|
||||
#if defined(CONFIG_DEBUG_FS)
|
||||
int tegra_aon_debugfs_create(struct tegra_aon *aon)
|
||||
{
|
||||
struct tegra_aondbg *aondbg = &aondbg_dev;
|
||||
@@ -866,3 +867,4 @@ void tegra_aon_debugfs_remove(struct tegra_aon *aon)
|
||||
mbox_free_channel(aondbg->mbox);
|
||||
debugfs_remove_recursive(aondbg->aon_root);
|
||||
}
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user