| /* SPDX-License-Identifier: GPL-2.0 */ |
| /* |
| * Copyright (c) 2015 MediaTek Inc. |
| * Author: Zhanyong Wang <zhanyong.wang@mediatek.com> |
| * |
| */ |
| |
| |
| #ifndef ___PHY_MTK_TPHY_DEBUG_H___ |
| #define ___PHY_MTK_TPHY_DEBUG_H___ |
| #include <linux/kconfig.h> |
| #include <linux/kernel.h> |
| |
| #if IS_ENABLED(CONFIG_DEBUG_FS) |
| int tphy_phy_init_debugfs(void *handle); |
| void tphy_phy_exit_debugfs(void *handle); |
| #else |
| static inline int tphy_phy_init_debugfs(void *handle) |
| { |
| return 0; |
| } |
| static inline void tphy_phy_exit_debugfs(void *handle) |
| { |
| } |
| #endif |
| |
| #endif /* ___PHY_MTK_TPHY_DEBUG_H___ */ |