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 | 1e5b7c17b031359a37ed7772b92cc98aaaeac727 (patch) | |
tree | 5e2a88ef16da6f5c7c3b74ef607e5ba892252d5b /package/kernel/mac80211/patches/081-backport-devm_kmemdup.patch | |
parent | ee1e8c2f2df3b03ef89e5a8b31ae9e2f9907ade1 (diff) | |
download | master-31e0f0ae-1e5b7c17b031359a37ed7772b92cc98aaaeac727.tar.gz master-31e0f0ae-1e5b7c17b031359a37ed7772b92cc98aaaeac727.tar.bz2 master-31e0f0ae-1e5b7c17b031359a37ed7772b92cc98aaaeac727.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>
SVN-Revision: 44655
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, |