From 01b5ef0ff941d782a25a5e3b456668e9f2e314c9 Mon Sep 17 00:00:00 2001 From: Hauke Mehrtens Date: Thu, 10 Feb 2011 16:26:29 +0100 Subject: [PATCH] compat-wireless: build zd1211rw only for kernel >= 2.6.29 zd1211rw uses usb_queue_reset_device() which is not backported now. Signed-off-by: Hauke Mehrtens --- config.mk | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/config.mk b/config.mk index d8712e8314ed..9a206d9ee933 100644 --- a/config.mk +++ b/config.mk @@ -387,8 +387,12 @@ CONFIG_EEPROM_93CX6=m # USB Drivers ifdef CONFIG_USB +ifndef CONFIG_COMPAT_KERNEL_29 CONFIG_ZD1211RW=m # CONFIG_ZD1211RW_DEBUG=y +else +CONFIG_ZD1211RW=n +endif #CONFIG_COMPAT_KERNEL_29 # Sorry, rndis_wlan uses cancel_work_sync which is new and can't be done in compat... -- 2.30.2