im trying to port the kernel for xperia z2(shinano_sirius_defconfig) marshmallow kernel source from sony open archive but i get compilation errors
tried different toolchains.(doomlord toolchains incl linaro, the toolchain listed on nethunter wiki) using ubuntu 14.04 x64

it compiles with the stock kernel but after adding nethunter support/wireless support, it gives the following error at ath6kl

  CC      drivers/net/wireless/ath/ath6kl/cfg80211.o
drivers/net/wireless/ath/ath6kl/cfg80211.c:2959:2: warning: initialization from incompatible pointer type [enabled by default]
error, forbidden warning: cfg80211.c:2959
make[5]: *** [drivers/net/wireless/ath/ath6kl/cfg80211.o] Error 1
make[4]: *** [drivers/net/wireless/ath/ath6kl] Error 2
make[3]: *** [drivers/net/wireless/ath] Error 2
make[2]: *** [drivers/net/wireless] Error 2
make[1]: *** [drivers/net] Error 2
make: *** [drivers] Error 2
Any help?