[PATCH]Aironet driver does not compile in 2.4.23-pre5

From: Stefan Smietanowski
Date: Mon Sep 29 2003 - 15:51:45 EST


Hi.

The Aironet driver does not compile under 2.4.23-pre5. Simple fix
included.

// Stefan diff -urN linux-2.4.23-pre5/drivers/net/wireless/airo.c linux-2.4.23-pre5-new/drivers/net/wireless/airo.c
--- linux-2.4.23-pre5/drivers/net/wireless/airo.c 2003-09-29 21:46:38.000000000 +0200
+++ linux-2.4.23-pre5-new/drivers/net/wireless/airo.c 2003-09-29 22:35:38.000000000 +0200
@@ -202,7 +202,7 @@
#ifndef RUN_AT
#define RUN_AT(x) (jiffies+(x))
#endif
-#if LINUX_VERSION_CODE < 0x020500
+#if LINUX_VERSION_CODE < 0x020417 /* 2.4.23 */
static inline struct proc_dir_entry *PDE(const struct inode *inode)
{
return inode->u.generic_ip;