From d5ea3c918c1ef40e9536434136df60edd9215319 Mon Sep 17 00:00:00 2001 From: "Luis R. Rodriguez" Date: Wed, 5 Jan 2011 15:32:13 -0800 Subject: [PATCH] compat-wireless: rt2x00 no uses a kfifo on the header Signed-off-by: Luis R. Rodriguez --- patches/19-kfifo.patch | 14 -------------- 1 file changed, 14 deletions(-) diff --git a/patches/19-kfifo.patch b/patches/19-kfifo.patch index 369bb2f7de3f..9f352bf06d34 100644 --- a/patches/19-kfifo.patch +++ b/patches/19-kfifo.patch @@ -32,20 +32,6 @@ not be backported easily with defines in the compat module. lbs_pr_err("Out of memory allocating event FIFO buffer\n"); goto out; } ---- a/drivers/net/wireless/rt2x00/rt2x00.h -+++ b/drivers/net/wireless/rt2x00/rt2x00.h -@@ -908,7 +908,11 @@ struct rt2x00_dev { - /* - * FIFO for storing tx status reports between isr and tasklet. - */ -+#if (LINUX_VERSION_CODE >= KERNEL_VERSION(2,6,33)) - struct kfifo txstatus_fifo; -+#else -+ struct kfifo *txstatus_fifo; -+#endif - - /* - * Tasklet for processing tx status reports (rt2800pci). --- a/drivers/net/wireless/rt2x00/rt2x00dev.c +++ b/drivers/net/wireless/rt2x00/rt2x00dev.c @@ -822,10 +822,16 @@ static int rt2x00lib_probe_hw(struct rt2 -- 2.30.2