Commit 4bc26113 authored by Bart Van Assche's avatar Bart Van Assche Committed by Martin K. Petersen
Browse files

scsi: ufs: Split the ufshcd.h header file

Split the ufshcd.h header file into a header file that defines the
interface used by UFS drivers and another header file with declarations and
data structures only used by the UFS core.

Link: https://lore.kernel.org/r/20220419225811.4127248-27-bvanassche@acm.org


Tested-by: default avatarBean Huo <beanhuo@micron.com>
Reviewed-by: default avatarBean Huo <beanhuo@micron.com>
Signed-off-by: default avatarBart Van Assche <bvanassche@acm.org>
Signed-off-by: default avatarMartin K. Petersen <martin.petersen@oracle.com>
parent 3f06f780
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -5,6 +5,7 @@

#include "ufs-debugfs.h"
#include "ufshcd.h"
#include "ufshcd-priv.h"

static struct dentry *ufs_debugfs_root;

+1 −0
Original line number Diff line number Diff line
@@ -8,6 +8,7 @@
#include <linux/units.h>

#include "ufshcd.h"
#include "ufshcd-priv.h"

struct ufs_hwmon_data {
	struct ufs_hba *hba;
+1 −1
Original line number Diff line number Diff line
@@ -8,7 +8,7 @@

#include "ufs.h"
#include "ufs-sysfs.h"
#include "ufshcd.h"
#include "ufshcd-priv.h"

static const char *ufshcd_uic_link_state_to_string(
			enum uic_link_state state)
+1 −0
Original line number Diff line number Diff line
@@ -10,6 +10,7 @@
#include <scsi/scsi_host.h>
#include "ufs_bsg.h"
#include "ufshcd.h"
#include "ufshcd-priv.h"

static int ufs_bsg_get_query_desc_size(struct ufs_hba *hba, int *desc_len,
				       struct utp_upiu_query *qr)
+2 −0
Original line number Diff line number Diff line
@@ -8,6 +8,8 @@

#include <scsi/scsi_cmnd.h>
#include "ufshcd.h"
#include "ufshcd-priv.h"
#include "ufshci.h"

#ifdef CONFIG_SCSI_UFS_CRYPTO

Loading