mirror of
https://github.com/torvalds/linux.git
synced 2026-06-04 04:23:35 +02:00
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:
parent
efa1f6a9d7
commit
6daa8dd037
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user