On Tue, 2010-03-09 at 22:54 -0500, Pavel Roskin wrote: > Signed-off-by: Pavel Roskin <proski@xxxxxxx> > --- > config.mk | 2 ++ > 1 files changed, 2 insertions(+), 0 deletions(-) Please disregards this patch, it goes too far. wl1251_sdio still can be compiled without crc7(). That's the second version (RFC): compat-wireless: disable wl1251 SPI and wl1271 if crc7 is not available Signed-off-by: Pavel Roskin <proski@xxxxxxx> --- config.mk | 4 ++++ 1 files changed, 4 insertions(+), 0 deletions(-) diff --git a/config.mk b/config.mk index e5be3fd..f4f019f 100644 --- a/config.mk +++ b/config.mk @@ -386,7 +386,9 @@ endif # end of USB driver list ifneq ($(CONFIG_SPI_MASTER),) CONFIG_WL1251=m +ifneq ($(CONFIG_CRC7),) CONFIG_WL1251_SPI=m +endif CONFIG_P54_SPI=m ifdef CONFIG_COMPAT_KERNEL_27 @@ -449,7 +451,9 @@ CONFIG_ATH_COMMON=m CONFIG_WL12XX=y CONFIG_WL1251=m +ifneq ($(CONFIG_CRC7),) CONFIG_WL1271=m +endif ifdef CONFIG_COMPAT_KERNEL_27 CONFIG_LIBERTAS=n -- Regards, Pavel Roskin -- To unsubscribe from this list: send the line "unsubscribe linux-wireless" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html