madwifi: properly fix build against Linux 3.7 and later
[openwrt/svn-archive/archive.git] / net / madwifi / patches / 479-deprecate-devinitdata.patch
1 --- a/include/compat.h
2 +++ b/include/compat.h
3 @@ -204,6 +204,10 @@ static inline int timeval_compare(struct
4 #define CTLNAME(x)
5 #endif
6
7 +#ifndef __devinitdata
8 +#define __devinitdata
9 +#endif
10 +
11 #endif /* __KERNEL__ */
12
13 #endif /* _ATH_COMPAT_H_ */