Messages in this thread Patches in this message |  | | | Date | Sun, 11 Aug 2002 04:56:45 -0600 | | From | Erik Andersen <> | | Subject | Re: Linux 2.4.20-pre1 |
| |
On Mon Aug 05, 2002 at 07:40:56PM -0300, Marcelo Tosatti wrote: > <achirica@ttd.net> (02/05/31 1.445.1.13) > airo wireless net driver update:
Doesn't this make more sense?
--- linux/drivers/net/wireless/airo.c.orig Sun Aug 11 03:59:28 2002 +++ linux/drivers/net/wireless/airo.c Sun Aug 11 03:59:46 2002 @@ -191,12 +191,6 @@ #ifndef RUN_AT #define RUN_AT(x) (jiffies+(x)) #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 diff -urN linux-2.4.19.orig/include/linux/proc_fs.h linux-2.4.19/include/linux/proc_fs.h --- linux-2.4.19.orig/include/linux/proc_fs.h Fri Aug 2 18:39:45 2002 +++ linux-2.4.19/include/linux/proc_fs.h Sun Aug 11 00:23:55 2002 @@ -209,4 +209,9 @@ #endif /* CONFIG_PROC_FS */ +static inline struct proc_dir_entry *PDE(const struct inode *inode) +{ + return (struct proc_dir_entry *)inode->u.generic_ip; +} +
-Erik -- Erik B. Andersen http://codepoet-consulting.com/ --This message was written using 73% post-consumer electrons-- - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
|  |