scsi: ufs: core: Make the header files self-contained

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>
This commit is contained in:
Bart Van Assche 2026-04-01 13:25:01 -07:00 committed by Martin K. Petersen
parent efa1f6a9d7
commit 6daa8dd037
2 changed files with 5 additions and 0 deletions

View File

@ -5,6 +5,9 @@
#ifndef __UFS_DEBUGFS_H__
#define __UFS_DEBUGFS_H__
#include <linux/init.h>
#include <linux/types.h>
struct ufs_hba;
#ifdef CONFIG_DEBUG_FS

View File

@ -6,6 +6,8 @@
#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);