Commit 037de95a authored by Martin Dalecki's avatar Martin Dalecki Committed by Linus Torvalds

[PATCH] 2.5.20 airo wireless - "I can't get no, compilation..."

Fix namespace clash with proc stuff an compilation warnings.
parent 6b7eb57f
...@@ -191,12 +191,6 @@ static char *statsLabels[] = { ...@@ -191,12 +191,6 @@ static char *statsLabels[] = {
#ifndef RUN_AT #ifndef RUN_AT
#define RUN_AT(x) (jiffies+(x)) #define RUN_AT(x) (jiffies+(x))
#endif #endif
#ifndef PDE
static inline struct proc_dir_entry *PDE(const struct inode *inode)
{
return inode->u.generic_ip;
}
#endif
/* These variables are for insmod, since it seems that the rates /* These variables are for insmod, since it seems that the rates
...@@ -845,7 +839,7 @@ struct airo_info { ...@@ -845,7 +839,7 @@ struct airo_info {
struct proc_dir_entry *proc_entry; struct proc_dir_entry *proc_entry;
struct airo_info *next; struct airo_info *next;
spinlock_t aux_lock; spinlock_t aux_lock;
int flags; unsigned long flags;
#define FLAG_PROMISC IFF_PROMISC #define FLAG_PROMISC IFF_PROMISC
#define FLAG_RADIO_OFF 0x02 #define FLAG_RADIO_OFF 0x02
#define FLAG_LOCKED 2 #define FLAG_LOCKED 2
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment