diff options
Diffstat (limited to 'apps/system/mdio')
-rw-r--r-- | apps/system/mdio/mdio_main.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/apps/system/mdio/mdio_main.c b/apps/system/mdio/mdio_main.c index 31419b0ef..e896cbcd8 100644 --- a/apps/system/mdio/mdio_main.c +++ b/apps/system/mdio/mdio_main.c @@ -159,7 +159,11 @@ int set_phy_reg(uint16_t phy_id, uint16_t reg_num, uint16_t val) * mdio_main ****************************************************************************/ +#ifdef CONFIG_BUILD_KERNEL +int main(int argc, FAR char **argv) +#else int mdio_main(int argc, char *argv[]) +#endif { int ret; int i; |