mirror of
git://projects.qi-hardware.com/openwrt-xburst.git
synced 2025-02-03 10:51:06 +02:00
mac80211: fix compile with older kernel versions
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26573 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
parent
8ebdef0e75
commit
8471c58257
12
package/mac80211/patches/070-add_eeprom_def.patch
Normal file
12
package/mac80211/patches/070-add_eeprom_def.patch
Normal 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 */
|
Loading…
x
Reference in New Issue
Block a user