Linux 2.6.24 moves proc_net inside init_net

git-svn-id: http://madwifi-project.org/svn/madwifi/trunk@2756 0192ed92-7a03-0410-a25b-9323aeb14dbd
This commit is contained in:
proski 2007-10-17 16:59:45 +00:00
parent 6807bc078f
commit 854dfb1ec8
1 changed files with 4 additions and 0 deletions

View File

@ -104,6 +104,10 @@ static struct attribute_group ieee80211_attr_grp = {
}; };
#endif /* LINUX_VERSION_CODE >= KERNEL_VERSION(2,6,17) */ #endif /* LINUX_VERSION_CODE >= KERNEL_VERSION(2,6,17) */
#if LINUX_VERSION_CODE >= KERNEL_VERSION(2,6,24)
#define proc_net init_net.proc_net
#endif
/* /*
* Print a console message with the device name prepended. * Print a console message with the device name prepended.
*/ */