]> git.sur5r.net Git - u-boot/blobdiff - drivers/net/inca-ip_sw.c
Merge branch 'master' into next
[u-boot] / drivers / net / inca-ip_sw.c
index a079b600307e296ae5ae675495804d4548d33eb2..492f5ce8f8850cb03aefc6f71bcfcc91f9ffb8aa 100644 (file)
 
 #include <common.h>
 
-#if defined(CONFIG_CMD_NET) \
-       && defined(CONFIG_NET_MULTI) && defined(CONFIG_INCA_IP_SWITCH)
-
 #include <malloc.h>
 #include <net.h>
+#include <netdev.h>
 #include <asm/inca-ip.h>
 #include <asm/addrspace.h>
 
@@ -202,7 +200,7 @@ int inca_switch_initialize(bd_t * bis)
        printf("Leaving inca_switch_initialize()\n");
 #endif
 
-       return 1;
+       return 0;
 }
 
 
@@ -813,5 +811,3 @@ Fail:
        return -1;
 }
 #endif /* CONFIG_INCA_IP_SWITCH_AMDIX */
-
-#endif