summaryrefslogtreecommitdiff
path: root/drivers/net/inca-ip_sw.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/net/inca-ip_sw.c')
-rw-r--r--drivers/net/inca-ip_sw.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/net/inca-ip_sw.c b/drivers/net/inca-ip_sw.c
index d852a15..492f5ce 100644
--- a/drivers/net/inca-ip_sw.c
+++ b/drivers/net/inca-ip_sw.c
@@ -28,6 +28,7 @@
#include <malloc.h>
#include <net.h>
+#include <netdev.h>
#include <asm/inca-ip.h>
#include <asm/addrspace.h>
@@ -199,7 +200,7 @@ int inca_switch_initialize(bd_t * bis)
printf("Leaving inca_switch_initialize()\n");
#endif
- return 1;
+ return 0;
}