diff options
| author | Wang-Huachen <[email protected]> | 2020-11-30 12:48:23 +0800 |
|---|---|---|
| committer | Wang-Huachen <[email protected]> | 2020-11-30 12:48:23 +0800 |
| commit | f7b553b193deb179e23843d759d20d83da4b85d3 (patch) | |
| tree | ff949a536a962896aec25ff73e0abd874c84a6af /components/drivers/include/rtdevice.h | |
| parent | 9756c77f0447f9ce4f00a37600298a1f1fd90cda (diff) | |
| parent | af95348bf1dd06ed2147cf9caee8a78513c31a72 (diff) | |
Merge branch 'master' of https://github.com/RT-Thread/rt-thread
Diffstat (limited to 'components/drivers/include/rtdevice.h')
| -rw-r--r-- | components/drivers/include/rtdevice.h | 5 |
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" |
