summaryrefslogtreecommitdiff
path: root/components/drivers/include/rtdevice.h
diff options
context:
space:
mode:
authorMeco Man <[email protected]>2020-11-21 16:23:43 +0800
committerGitHub <[email protected]>2020-11-21 16:23:43 +0800
commit3634621815b4145c786cff2e22cfeae5b108e94f (patch)
tree0bfa64046729fd05e7b6688d1966bc7f7d0f1bae /components/drivers/include/rtdevice.h
parent7d0b8341998666fe0330ada8cbfdd9572579d046 (diff)
parent9dc0bbb814dff797eabb1cbcc133410c75471cd0 (diff)
Merge pull request #2 from RT-Thread/master
update
Diffstat (limited to 'components/drivers/include/rtdevice.h')
-rw-r--r--components/drivers/include/rtdevice.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/components/drivers/include/rtdevice.h b/components/drivers/include/rtdevice.h
index f54290097c..f0fa2f5b4a 100644
--- a/components/drivers/include/rtdevice.h
+++ b/components/drivers/include/rtdevice.h
@@ -69,6 +69,11 @@ extern "C" {
#endif /* RT_USING_I2C_BITOPS */
#endif /* RT_USING_I2C */
+#ifdef RT_USING_PHY
+#include "drivers/phy.h"
+#include "drivers/phy_mdio.h"
+#endif /* RT_USING_PHY */
+
#ifdef RT_USING_SDIO
#include "drivers/mmcsd_core.h"
#include "drivers/sd.h"