net: Enable compilation of net_if.c
Change-Id: Icae9d7222b7b41539ff6e4e7d3c8916c5a3ec5f5 Signed-off-by: Jukka Rissanen <jukka.rissanen@linux.intel.com>
This commit is contained in:
parent
9ad626e8f7
commit
df1c331c96
3 changed files with 4 additions and 0 deletions
|
@ -1,3 +1,4 @@
|
|||
ccflags-y += -I${srctree}/net/ip
|
||||
obj-y = net_core.o \
|
||||
net_if.o \
|
||||
nbuf.o
|
||||
|
|
|
@ -96,6 +96,8 @@ static int net_init(struct device *unused)
|
|||
|
||||
init_rx_queue();
|
||||
|
||||
net_if_init();
|
||||
|
||||
return network_initialization();
|
||||
}
|
||||
|
||||
|
|
|
@ -23,3 +23,4 @@
|
|||
#include <errno.h>
|
||||
|
||||
extern void net_nbuf_init(void);
|
||||
extern int net_if_init(void);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue