My sin is that I set CONFIG_EXTERNAL_KERNEL_TREE="/home/zajec/openwrt/linux-stable.git" which has 3.6.11 cloned
CC [M] /home/zajec/openwrt/openwrt.git/build_dir/target-mipsel_uClibc-0.9.33.2/linux-brcm47xx/broadcom-diag/diag.o In file included from /home/zajec/openwrt/linux-stable.git/arch/mips/include/asm/mach-bcm47xx/gpio.h:13:0, from /home/zajec/openwrt/linux-stable.git/arch/mips/include/asm/gpio.h:4, from include/linux/gpio.h:45, from include/linux/ssb/ssb.h:9, from include/linux/ssb/ssb_embedded.h:5, from /home/zajec/openwrt/openwrt.git/build_dir/target-mipsel_uClibc-0.9.33.2/linux-brcm47xx/broadcom-diag/gpio.h:5, from /home/zajec/openwrt/openwrt.git/build_dir/target-mipsel_uClibc-0.9.33.2/linux-brcm47xx/broadcom-diag/diag.c:37: include/linux/bcma/bcma.h:232:10: warning: 'struct ssb_sprom' declared inside parameter list [enabled by default] include/linux/bcma/bcma.h:232:10: warning: its scope is only this definition or declaration, which is probably not what you want [enabled by default] include/linux/bcma/bcma.h:265:19: error: field 'sprom' has incomplete type The circular part: include/linux/ssb/ssb.h:9 #include <linux/gpio.h> include/linux/gpio.h:45 #include <asm/gpio.h> arch/mips/include/asm/gpio.h:4 #include <gpio.h> First way: arch/mips/include/asm/mach-bcm47xx/gpio.h:13 #include <linux/bcma/bcma.h> include/linux/bcma/bcma.h:11 #include <linux/ssb/ssb.h> /* SPROM sharing */ Second way: arch/mips/include/asm/mach-bcm47xx/gpio.h:12 #include <linux/ssb/ssb_embedded.h> include/linux/ssb/ssb_embedded.h::5 #include <linux/ssb/ssb.h> -- Rafał _______________________________________________ openwrt-devel mailing list openwrt-devel@lists.openwrt.org https://lists.openwrt.org/mailman/listinfo/openwrt-devel