summaryrefslogtreecommitdiff
path: root/components/drivers/include/rtdevice.h
diff options
context:
space:
mode:
authorGuEe-GUI <[email protected]>2025-12-01 17:02:36 +0800
committerR b b666 <[email protected]>2025-12-04 16:05:37 +0800
commit62e1fe3699446360e9bb676d871facf21b2ff6b1 (patch)
tree4a61fba81d356c3c0ae76764912abae247969a01 /components/drivers/include/rtdevice.h
parent798c84647c7a8959fb0d50a97f63e7e74c0e7119 (diff)
[Drivers/phy] Fixup header include for v2
Signed-off-by: GuEe-GUI <[email protected]>
Diffstat (limited to 'components/drivers/include/rtdevice.h')
-rw-r--r--components/drivers/include/rtdevice.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/components/drivers/include/rtdevice.h b/components/drivers/include/rtdevice.h
index 7007441c6b..fbed6c829d 100644
--- a/components/drivers/include/rtdevice.h
+++ b/components/drivers/include/rtdevice.h
@@ -170,9 +170,9 @@ extern "C" {
#endif /* RT_USING_DM */
#endif /* RT_USING_I2C */
-#ifdef RT_USING_PHY
+#if defined(RT_USING_PHY) || defined(RT_USING_PHY_V2)
#include "drivers/phy.h"
-#endif /* RT_USING_PHY */
+#endif /* RT_USING_PHY || RT_USING_PHY_V2 */
#ifdef RT_USING_SDIO
#include "drivers/dev_mmcsd_core.h"