diff options
author | Felix Fietkau <nbd@openwrt.org> | 2015-03-11 15:02:47 +0000 |
---|---|---|
committer | Felix Fietkau <nbd@openwrt.org> | 2015-03-11 15:02:47 +0000 |
commit | 9f5dba18e9a1a3716dd805702195521d32e385ca (patch) | |
tree | bff917861075b930a7cc3b520f0371ecdcddcdc8 /package/kernel/mac80211/patches/081-backport-devm_kmemdup.patch | |
parent | 61cd5ce994701218a033578d2174e4791c146771 (diff) | |
download | upstream-9f5dba18e9a1a3716dd805702195521d32e385ca.tar.gz upstream-9f5dba18e9a1a3716dd805702195521d32e385ca.tar.bz2 upstream-9f5dba18e9a1a3716dd805702195521d32e385ca.zip |
mac80211: update to wireless-testing 2015-03-09
Based on patch by Bryan Forbes <bryan@reigndropsfall.net>
Also update mt76 to update for API changes
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44655 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'package/kernel/mac80211/patches/081-backport-devm_kmemdup.patch')
-rw-r--r-- | package/kernel/mac80211/patches/081-backport-devm_kmemdup.patch | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/package/kernel/mac80211/patches/081-backport-devm_kmemdup.patch b/package/kernel/mac80211/patches/081-backport-devm_kmemdup.patch index fb61625d5a..d635ee13d9 100644 --- a/package/kernel/mac80211/patches/081-backport-devm_kmemdup.patch +++ b/package/kernel/mac80211/patches/081-backport-devm_kmemdup.patch @@ -1,9 +1,9 @@ --- a/backport-include/linux/device.h +++ b/backport-include/linux/device.h -@@ -177,4 +177,20 @@ static inline void *devm_kmalloc_array(s - } +@@ -200,4 +200,20 @@ static inline void *devm_kmemdup(struct #endif + +#if LINUX_VERSION_CODE < KERNEL_VERSION(3,15,0) +#define devm_kmemdup LINUX_BACKPORT(devm_kmemdup) +static inline void *devm_kmemdup(struct device *dev, const void *src, |