summaryrefslogtreecommitdiffstats
path: root/net/madwifi/patches/479-deprecate-devinitdata.patch
blob: 312043bee4621479659c0523f582a92001ce0a32 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
--- a/include/compat.h
+++ b/include/compat.h
@@ -204,6 +204,10 @@ static inline int timeval_compare(struct
 #define CTLNAME(x)
 #endif
 
+#ifndef __devinitdata
+#define __devinitdata
+#endif
+
 #endif /* __KERNEL__ */
 
 #endif /* _ATH_COMPAT_H_ */