This fixes the error for me. Dan index 7dc2d39..e3ba4d5 100644 --- a/drivers/net/wireless/iwlwifi/iwl-rx.c +++ b/drivers/net/wireless/iwlwifi/iwl-rx.c @@ -30,6 +30,7 @@ #include <linux/etherdevice.h> #include <linux/slab.h> #include <net/mac80211.h> +#include <linux/sched.h> #include <asm/unaligned.h> #include "iwl-eeprom.h" #include "iwl-dev.h" -- 1.7.0.4 On Sun, Mar 6, 2011 at 1:34 PM, Guy, Wey-Yi <wey-yi.w.guy@xxxxxxxxx> wrote: > Hi Stanislaw, > > On Fri, 2011-03-04 at 08:51 -0800, Stanislaw Gruszka wrote: >> Put generic rx_handlers (except iwlagn_rx_reply_compressed_ba) to >> iwl-rx.c . Make functions static and change prefix from iwlagn_ to >> iwl_ . Beautify iwl_setup_rx_handlers and do some other minor coding >> style changes. >> >> Signed-off-by: Stanislaw Gruszka <sgruszka@xxxxxxxxxx> >> --- > this patch break the compiling > > drivers/net/wireless/iwlwifi/iwl-rx.c:778:17: error: undefined > identifier 'TASK_INTERRUPTIBLE' > CC [M] drivers/net/wireless/iwlwifi/iwl-rx.o > drivers/net/wireless/iwlwifi/iwl-rx.c: In function > ‘iwl_rx_card_state_notif’: > drivers/net/wireless/iwlwifi/iwl-rx.c:778: error: ‘TASK_INTERRUPTIBLE’ > undeclared (first use in this function) > drivers/net/wireless/iwlwifi/iwl-rx.c:778: error: (Each undeclared > identifier is reported only once > drivers/net/wireless/iwlwifi/iwl-rx.c:778: error: for each function it > appears in.) > make[1]: *** [drivers/net/wireless/iwlwifi/iwl-rx.o] Error 1 > make: *** [_module_drivers/net/wireless/iwlwifi] Error 2 > > > Thanks > Wey > > -- > 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 > -- 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