This removes support for old (and non-mainline) kernels from ipw2200.
Signed-off-by: Pavel Machek <pavel@suse.cz> Signed-off-by: Jiri Benc <jbenc@suse.cz>
This commit is contained in:
@@ -53,26 +53,6 @@
|
||||
|
||||
#include <linux/workqueue.h>
|
||||
|
||||
#ifndef IRQ_NONE
|
||||
typedef void irqreturn_t;
|
||||
#define IRQ_NONE
|
||||
#define IRQ_HANDLED
|
||||
#define IRQ_RETVAL(x)
|
||||
#endif
|
||||
|
||||
#if ( LINUX_VERSION_CODE < KERNEL_VERSION(2,6,9) )
|
||||
#define __iomem
|
||||
#endif
|
||||
|
||||
#if ( LINUX_VERSION_CODE < KERNEL_VERSION(2,6,5) )
|
||||
#define pci_dma_sync_single_for_cpu pci_dma_sync_single
|
||||
#define pci_dma_sync_single_for_device pci_dma_sync_single
|
||||
#endif
|
||||
|
||||
#ifndef HAVE_FREE_NETDEV
|
||||
#define free_netdev(x) kfree(x)
|
||||
#endif
|
||||
|
||||
/* Authentication and Association States */
|
||||
enum connection_manager_assoc_states
|
||||
{
|
||||
|
Reference in New Issue
Block a user