mirror of
git://nv-tegra.nvidia.com/linux-nv-oot.git
synced 2025-12-23 01:31:30 +03:00
When CONFIG_DEBUG_FS is disabled, build errors are seen in the following 2 drivers: 1. bpmpfw - The build error was seen because bpmp-debugfs.c was getting compiled even when CONFIG_DEBUG_FS was disabled. 2. ufs - The build error was seen due to a couple of reasons: - Function debugfs_provision_init is defined in a file that is protected with CONFIG_DEBUG_FS, but is called from another file unconditionally. - In ufs-tegra-common.c, there are calls to debugfs_* functions, but inclusion of the standard header debugfs.h is protected under CONFIG_DEBUG_FS. Fix these issues with this change. Bug 4164776 Change-Id: Iae6384fd2352e55aed2a0ea85e778be6c26a4d54 Signed-off-by: Bharat Nihalani <bnihalani@nvidia.com> Reviewed-on: https://git-master.nvidia.com/r/c/linux-nv-oot/+/2926891 GVS: Gerrit_Virtual_Submit <buildbot_gerritrpt@nvidia.com>