Re: [PATCH net 3/3] cpsw/netcp: work around reverse cpts dependency

2016-12-21 Thread Grygorii Strashko
On 12/16/2016 03:19 AM, Arnd Bergmann wrote: The dependency is reversed: cpsw and netcp call into cpts, but cpts depends on the other two in Kconfig. This can lead to cpts being a loadable module and its callers built-in: drivers/net/ethernet/ti/cpsw.o: In function `cpsw_remove': cpsw.c:(.text

[PATCH net 3/3] cpsw/netcp: work around reverse cpts dependency

2016-12-16 Thread Arnd Bergmann
The dependency is reversed: cpsw and netcp call into cpts, but cpts depends on the other two in Kconfig. This can lead to cpts being a loadable module and its callers built-in: drivers/net/ethernet/ti/cpsw.o: In function `cpsw_remove': cpsw.c:(.text.cpsw_remove+0xd0): undefined reference to `cpts_