From 62e1fe3699446360e9bb676d871facf21b2ff6b1 Mon Sep 17 00:00:00 2001 From: GuEe-GUI <2991707448@qq.com> Date: Mon, 1 Dec 2025 17:02:36 +0800 Subject: [PATCH] [Drivers/phy] Fixup header include for v2 Signed-off-by: GuEe-GUI <2991707448@qq.com> --- components/drivers/include/rtdevice.h | 4 ++-- 1 file 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"