net: CPSW: Fix non-OMAP barebox building with DRIVER_NET_CPSW option
PATCH 1/1 net: CPSW: Fix non-OMAP barebox building with DRIVER_NET_CPSW option
CC drivers/net/cpsw.o
drivers/net/cpsw.c:34:23: error: mach/cpsw.h: No such file or directory drivers/net/cpsw.c:203: error: field 'data' has incomplete type drivers/net/cpsw.c: In function 'cpsw_open':
drivers/net/cpsw.c:773: error: invalid use of undefined type 'struct cpsw_slave_data' drivers/net/cpsw.c:773: error: dereferencing pointer to incomplete type drivers/net/cpsw.c:774: error: invalid use of undefined type 'struct cpsw_slave_data' drivers/net/cpsw.c:774: error: dereferencing pointer to incomplete type drivers/net/cpsw.c: In function 'cpsw_probe':
drivers/net/cpsw.c:967: error: dereferencing pointer to incomplete type drivers/net/cpsw.c:969: error: dereferencing pointer to incomplete type make[2]: *** [drivers/net/cpsw.o] Error 1
make[1]: *** [drivers/net] Error 2
make: *** [drivers] Error 2
--- drivers/net/Kconfig | 1 + 1 file changed, 1 insertion(+)
drivers/net/Kconfig +1 -0
@@ -33,6 +33,7 @@ config DRIVER_NET_CS8900 config DRIVER_NET_CPSW bool "CPSW ethernet driver" + depends on ARCH_OMAP select PHYLIB config DRIVER_NET_SMC911X
Signature · 7 lines
1.7.12.4 _______________________________________________ barebox mailing list [email protected] http://lists.infradead.org/mailman/listinfo/barebox
Hi Alexander,
I already fixed that see commit 11e91d255ec4b9919e12f1a8fa06c5ac5693f746 in next tree. :-)
It's good to see you would solve this in the same way. Thanks.
Regards
Alex
_______________________________________________
barebox mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/barebox