]> git.baikalelectronics.ru Git - kernel.git/commit
ath5k: fix undefined 'THIS_MODULE'
authorJonathan Bither <jonbither@gmail.com>
Thu, 12 Apr 2012 10:13:33 +0000 (06:13 -0400)
committerJohn W. Linville <linville@tuxdriver.com>
Fri, 13 Apr 2012 18:05:35 +0000 (14:05 -0400)
commitfc7f598f66dc8817dc08d32eee4fc1e5af7ab64a
tree0a4f2755dc11c2c396f6beca3b5b7f1b851f3126
parentee7d572a62db596be723a13f42e36b8d8c0bf75c
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>
drivers/net/wireless/ath/ath5k/ahb.c