summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorhauke <hauke@3c298f89-4303-0410-b956-a3cf2f4a3e73>2011-04-09 23:51:30 +0000
committerhauke <hauke@3c298f89-4303-0410-b956-a3cf2f4a3e73>2011-04-09 23:51:30 +0000
commit8471c582571cf9cecc4b44680bc4dd9fc3a8fc4d (patch)
tree42b45bbd6860df424c4fa4683838a8b65b5b08e1
parent8ebdef0e75d716e0ab20e31272651676526fa8ee (diff)
mac80211: fix compile with older kernel versions
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26573 3c298f89-4303-0410-b956-a3cf2f4a3e73
-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 000000000..70e784c87
--- /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 */