diff options
Diffstat (limited to 'include')
-rw-r--r-- | include/net.h | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/include/net.h b/include/net.h index 25d7b6e024..08f897e958 100644 --- a/include/net.h +++ b/include/net.h @@ -64,8 +64,13 @@ void eth_halt(void); /* stop SCC */ * board code for boards which store their MAC address at some unusual * place. */ +#if !defined(CONFIG_NET) +static inline void eth_register_ethaddr(int ethid, const char *ethaddr) +{ +} +#else void eth_register_ethaddr(int ethid, const char *ethaddr); - +#endif /* * Ethernet header */ |