packages/net/madwifi/patches/479-deprecate-devinitdata.patch
jow 208c0aaf5a madwifi: properly fix build against Linux 3.7 and later
git-svn-id: svn://svn.openwrt.org/openwrt/packages@36762 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-05-29 16:08:13 +00:00

14 lines
250 B
Diff

--- 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_ */