diff options
author | Johannes Berg <johannes.berg@intel.com> | 2013-04-15 23:30:10 +0200 |
---|---|---|
committer | Johannes Berg <johannes.berg@intel.com> | 2013-04-15 23:36:35 +0200 |
commit | f93400b446d6582c67ac60332a8ff729f01be977 (patch) | |
tree | d5d902343d4725a28dcb41aac56a4b8b7c44922c /backport/backport-include/linux/etherdevice.h | |
parent | 102801ba88a972a8c85ae12f8e0e8f78aa392c2b (diff) |
backports: include asm/unaligned.h into etherdevice.h
New kernels do this, and some users rely on it.
This allows getting rid of the cfg80211 and ath6kl
patches to include it directly.
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Diffstat (limited to 'backport/backport-include/linux/etherdevice.h')
-rw-r--r-- | backport/backport-include/linux/etherdevice.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/backport/backport-include/linux/etherdevice.h b/backport/backport-include/linux/etherdevice.h index fc6803fe..9baa1974 100644 --- a/backport/backport-include/linux/etherdevice.h +++ b/backport/backport-include/linux/etherdevice.h @@ -2,6 +2,11 @@ #define _BACKPORT_LINUX_ETHERDEVICE_H #include_next <linux/etherdevice.h> #include <linux/version.h> +/* + * newer kernels include this already and some + * users rely on getting this indirectly + */ +#include <asm/unaligned.h> #if LINUX_VERSION_CODE < KERNEL_VERSION(2,6,12) #define eth_hw_addr_random LINUX_BACKPORT(eth_hw_addr_random) |