iim: fix compilation when NET is not selected
Signed-off-by: Eric Bénard <eric@eukrea.com> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
This commit is contained in:
parent
c6a6451305
commit
b63352f38a
|
@ -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
|
||||
*/
|
||||
|
|
Loading…
Reference in New Issue