mirror of
git://nv-tegra.nvidia.com/linux-nv-oot.git
synced 2025-12-23 17:55:05 +03:00
The UFS headers are moved to include as public headers from Linux 5.19. Use the headers directly from the core kernel instead of making the copy in drivers-private for nvidia-oot. Keep copy of only those drivers which are still in the drivers folder in core kernel. This will help to align all definition which driver needs to sync with core driver available in the core kernel. Bug 4346767 Change-Id: I1e59e32bee0f89591e50fff2f61e35d468f4207c Signed-off-by: Laxman Dewangan <ldewangan@nvidia.com> Reviewed-on: https://git-master.nvidia.com/r/c/linux-nv-oot/+/3039312 GVS: Gerrit_Virtual_Submit <buildbot_gerritrpt@nvidia.com>
35 lines
761 B
C
35 lines
761 B
C
/* SPDX-License-Identifier: GPL-2.0-only
|
|
*/
|
|
// Copyright (c) 2015-2023 NVIDIA CORPORATION & AFFILIATES. All rights reserved.
|
|
|
|
#ifndef _UFS_PROVISION_H
|
|
#define _UFS_PROVISION_H
|
|
|
|
#include <nvidia/conftest.h>
|
|
|
|
#include <linux/kernel.h>
|
|
#include <linux/module.h>
|
|
|
|
#if defined(NV_UFS_UFSHCD_H_PRESENT)
|
|
#include <ufs/ufshcd.h>
|
|
#else
|
|
#include <drivers-private/scsi/ufs/ufshcd.h>
|
|
#endif
|
|
|
|
#ifdef CONFIG_DEBUG_FS
|
|
#include <linux/debugfs.h>
|
|
void debugfs_provision_init(struct ufs_hba *hba, struct dentry *device_root);
|
|
void debugfs_provision_exit(struct ufs_hba *hba);
|
|
#else
|
|
static inline void debugfs_provision_init(struct ufs_hba *hba, struct dentry *device_root)
|
|
{
|
|
return;
|
|
}
|
|
static inline void debugfs_provision_exit(struct ufs_hba *hba)
|
|
{
|
|
return;
|
|
}
|
|
#endif
|
|
|
|
#endif
|