Add the include directives and forward declarations that are missing
from the UFS core header files. This prevents compilation failures if
include directives are reordered.
Signed-off-by: Bart Van Assche <bvanassche@acm.org>
Link: https://patch.msgid.link/20260401202506.1445324-4-bvanassche@acm.org
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
#ifndef __UFS_DEBUGFS_H__
#define __UFS_DEBUGFS_H__
+#include <linux/init.h>
+#include <linux/types.h>
+
struct ufs_hba;
#ifdef CONFIG_DEBUG_FS
#include <linux/kconfig.h>
#include <linux/types.h>
+struct ufs_hba;
+
#ifdef CONFIG_SCSI_UFS_FAULT_INJECTION
void ufs_fault_inject_hba_init(struct ufs_hba *hba);
bool ufs_trigger_eh(struct ufs_hba *hba);