diff options
author | Li Jun <jun.li@nxp.com> | 2021-08-03 15:38:07 +0800 |
---|---|---|
committer | Dong Aisheng <aisheng.dong@nxp.com> | 2021-11-02 17:07:15 +0800 |
commit | 38c49375bb156e5e37467b9874282b1c5016156a (patch) | |
tree | ffb6f5554658c41cfed60274fe77c1d8bbc045a0 /include/linux/phy | |
parent | 77c6f4f607dcf8e1cdb957134bb472a1ec2bfe71 (diff) |
LF-4259-1 phy: add debugfs root entry
Add a root debugfs dir for generic phy subsystem.
Reviewed-by: Haibo Chen <haibo.chen@nxp.com>
Signed-off-by: Li Jun <jun.li@nxp.com>
Diffstat (limited to 'include/linux/phy')
-rw-r--r-- | include/linux/phy/phy.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/linux/phy/phy.h b/include/linux/phy/phy.h index f3286f4cd306..980a2427cc33 100644 --- a/include/linux/phy/phy.h +++ b/include/linux/phy/phy.h @@ -211,6 +211,8 @@ static inline void *phy_get_drvdata(struct phy *phy) return dev_get_drvdata(&phy->dev); } +extern struct dentry *phy_debugfs_root; + #if IS_ENABLED(CONFIG_GENERIC_PHY) int phy_pm_runtime_get(struct phy *phy); int phy_pm_runtime_get_sync(struct phy *phy); |