mirror of
https://github.com/torvalds/linux.git
synced 2024-11-25 13:41:51 +00:00
dd11376b9f
Split the drivers/scsi/ufs directory into 'core' and 'host' directories under the drivers/ufs/ directory. Move shared header files into the include/ufs/ directory. This separation makes it clear which header files UFS drivers are allowed to include (include/ufs/*.h) and which header files UFS drivers are not allowed to include (drivers/ufs/core/*.h). Update the MAINTAINERS file. Add myself as a UFS reviewer. Link: https://lore.kernel.org/r/20220511212552.655341-1-bvanassche@acm.org Cc: Adrian Hunter <adrian.hunter@intel.com> Cc: Avri Altman <avri.altman@wdc.com> Cc: Bean Huo <beanhuo@micron.com> Cc: Bjorn Andersson <bjorn.andersson@linaro.org> Cc: Keoseong Park <keosung.park@samsung.com> Tested-by: Bean Huo <beanhuo@micron.com> Tested-by: Adrian Hunter <adrian.hunter@intel.com> Reviewed-by: Bean Huo <beanhuo@micron.com> Acked-by: Avri Altman <avri.altman@wdc.com> Acked-by: Adrian Hunter <adrian.hunter@intel.com> Signed-off-by: Bart Van Assche <bvanassche@acm.org> Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
25 lines
727 B
C
25 lines
727 B
C
/* SPDX-License-Identifier: GPL-2.0 */
|
|
/* Copyright (C) 2020 Intel Corporation
|
|
*/
|
|
|
|
#ifndef __UFS_DEBUGFS_H__
|
|
#define __UFS_DEBUGFS_H__
|
|
|
|
struct ufs_hba;
|
|
|
|
#ifdef CONFIG_DEBUG_FS
|
|
void __init ufs_debugfs_init(void);
|
|
void ufs_debugfs_exit(void);
|
|
void ufs_debugfs_hba_init(struct ufs_hba *hba);
|
|
void ufs_debugfs_hba_exit(struct ufs_hba *hba);
|
|
void ufs_debugfs_exception_event(struct ufs_hba *hba, u16 status);
|
|
#else
|
|
static inline void ufs_debugfs_init(void) {}
|
|
static inline void ufs_debugfs_exit(void) {}
|
|
static inline void ufs_debugfs_hba_init(struct ufs_hba *hba) {}
|
|
static inline void ufs_debugfs_hba_exit(struct ufs_hba *hba) {}
|
|
static inline void ufs_debugfs_exception_event(struct ufs_hba *hba, u16 status) {}
|
|
#endif
|
|
|
|
#endif
|