mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2025-01-23 16:53:58 -05:00
23 lines
584 B
C
23 lines
584 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 __exit ufs_debugfs_exit(void);
|
||
|
void ufs_debugfs_hba_init(struct ufs_hba *hba);
|
||
|
void ufs_debugfs_hba_exit(struct ufs_hba *hba);
|
||
|
#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) {}
|
||
|
#endif
|
||
|
|
||
|
#endif
|