On 02/06/2013 11:41 AM, Rafał Miłecki wrote: > 2013/1/30 Rafał Miłecki <zaj...@gmail.com>: >> 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 > > Any idea about that? :( > Sorry for answering so late.
The bcm47xx gpio code in kernel < 3.8 is broken. You also get compile errors if you select the wrong kernel modules. ;-) This should all be fixed in kernel 3.8, does this problem still occur there? Hauke _______________________________________________ openwrt-devel mailing list openwrt-devel@lists.openwrt.org https://lists.openwrt.org/mailman/listinfo/openwrt-devel