summaryrefslogtreecommitdiff
path: root/components/drivers/include/rtdevice.h
diff options
context:
space:
mode:
authorWBI\nxf44444 <[email protected]>2020-11-17 11:26:28 +0800
committerWBI\nxf44444 <[email protected]>2020-11-17 11:26:28 +0800
commitbfdbcd30f4f34e53d62f5d014acf4481c5a06412 (patch)
tree5043846c3034b4417172270531c04ab3771b0f02 /components/drivers/include/rtdevice.h
parent8087a901180c9fccb5951d651b7ce01974aea52a (diff)
parentb0f21335631adcd7b788de7b402a175e5ca4a40b (diff)
audio_kconfig
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"