mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2025-01-24 12:19:39 +07:00
ath5k: fix undefined 'THIS_MODULE'
When cross compiling ath5k for a Mips machine with kernel 3.2.14 the compilation fails with "/ath5k/ahb.c:231:12: error: 'THIS_MODULE' undeclared here (not in a function)" Fix the build by including <linux/export.h> Signed-off-by: Jonathan Bither <jonbither@gmail.com> Signed-off-by: John W. Linville <linville@tuxdriver.com>
This commit is contained in:
parent
e55a4046da
commit
32b92f4f3f
@ -19,6 +19,7 @@
|
|||||||
#include <linux/nl80211.h>
|
#include <linux/nl80211.h>
|
||||||
#include <linux/platform_device.h>
|
#include <linux/platform_device.h>
|
||||||
#include <linux/etherdevice.h>
|
#include <linux/etherdevice.h>
|
||||||
|
#include <linux/export.h>
|
||||||
#include <ar231x_platform.h>
|
#include <ar231x_platform.h>
|
||||||
#include "ath5k.h"
|
#include "ath5k.h"
|
||||||
#include "debug.h"
|
#include "debug.h"
|
||||||
|
Loading…
Reference in New Issue
Block a user