Compile fix for Linux 2.4 - provide request_module() with 2 arguments

It was broken in r3726.


git-svn-id: http://madwifi-project.org/svn/madwifi/trunk@3751 0192ed92-7a03-0410-a25b-9323aeb14dbd
This commit is contained in:
proski 2008-07-05 08:14:57 +00:00
parent 130324108b
commit 2dc12013f6

View File

@ -44,6 +44,7 @@
#include <linux/time.h>
#include <linux/netdevice.h>
#include <linux/kernel.h>
#include <linux/kmod.h>
#endif
#include <linux/version.h>
@ -192,6 +193,10 @@ typedef unsigned long resource_size_t;
#define __skb_queue_after(_list, _old, _new) __skb_append(_old, _new, _list)
#endif
#if LINUX_VERSION_CODE < KERNEL_VERSION(2,6,0)
#define request_module(_fmt, _modname) request_module(_modname)
#endif
#endif /* __KERNEL__ */
#endif /* _ATH_COMPAT_H_ */