mac80211: fix compile with older kernel versions

SVN-Revision: 26573
lede-17.01
Hauke Mehrtens 2011-04-09 23:51:30 +00:00
parent 76cce7c90e
commit 1c64f756d4
1 changed files with 12 additions and 0 deletions

View File

@ -0,0 +1,12 @@
--- a/include/linux/compat-2.6.36.h
+++ b/include/linux/compat-2.6.36.h
@@ -120,6 +120,9 @@ static inline void tty_unlock(void) __re
#define tty_locked() (kernel_locked())
#define usleep_range(_min, _max) msleep((_max) / 1000)
+
+#define PCI_EEPROM_WIDTH_93C86 8
+
#endif /* (LINUX_VERSION_CODE < KERNEL_VERSION(2,6,36)) */
#endif /* LINUX_26_36_COMPAT_H */