aboutsummaryrefslogtreecommitdiffstats
path: root/package/mac80211
diff options
context:
space:
mode:
authorHauke Mehrtens <hauke@hauke-m.de>2011-04-09 23:51:30 +0000
committerHauke Mehrtens <hauke@hauke-m.de>2011-04-09 23:51:30 +0000
commit1c64f756d4dabc479bc7a623439fe9cf62298552 (patch)
treeb113098560a103ed0393162ca9828c51549f359d /package/mac80211
parent76cce7c90ea6434cab083633a723e3fb3a9e6c7f (diff)
downloadupstream-1c64f756d4dabc479bc7a623439fe9cf62298552.tar.gz
upstream-1c64f756d4dabc479bc7a623439fe9cf62298552.tar.bz2
upstream-1c64f756d4dabc479bc7a623439fe9cf62298552.zip
mac80211: fix compile with older kernel versions
SVN-Revision: 26573
Diffstat (limited to 'package/mac80211')
-rw-r--r--package/mac80211/patches/070-add_eeprom_def.patch12
1 files changed, 12 insertions, 0 deletions
diff --git a/package/mac80211/patches/070-add_eeprom_def.patch b/package/mac80211/patches/070-add_eeprom_def.patch
new file mode 100644
index 0000000000..70e784c870
--- /dev/null
+++ b/package/mac80211/patches/070-add_eeprom_def.patch
@@ -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 */