diff options
author | Kalle Valo <kvalo@qca.qualcomm.com> | 2012-01-17 13:09:36 -0500 |
---|---|---|
committer | Kalle Valo <kvalo@qca.qualcomm.com> | 2012-01-18 06:59:51 -0500 |
commit | d6a434d60e064a5f2bef1c13ca5ed84bfa6b8b4f (patch) | |
tree | 9920f4f6552420f83b1c65000ed3c5840b49d272 /drivers/net/wireless/ath/ath6kl/hif.c | |
parent | 3b1b7d0985fdb26403678e49938a668ef7f772ea (diff) |
ath6kl: create ath6kl_core.ko
Now ath6kl is ready for splitting core code to ath6kl_core.ko module.
This also makes it possible to link both sdio and usb code to kernel
at the same time, which earlier failed miserably.
Reported-by: Stephen Rothwell <sfr@canb.auug.org.au>
Signed-off-by: Kalle Valo <kvalo@qca.qualcomm.com>
Diffstat (limited to 'drivers/net/wireless/ath/ath6kl/hif.c')
-rw-r--r-- | drivers/net/wireless/ath/ath6kl/hif.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/drivers/net/wireless/ath/ath6kl/hif.c b/drivers/net/wireless/ath/ath6kl/hif.c index 711886860b5d..d912da6ab0d1 100644 --- a/drivers/net/wireless/ath/ath6kl/hif.c +++ b/drivers/net/wireless/ath/ath6kl/hif.c | |||
@@ -15,6 +15,8 @@ | |||
15 | */ | 15 | */ |
16 | #include "hif.h" | 16 | #include "hif.h" |
17 | 17 | ||
18 | #include <linux/export.h> | ||
19 | |||
18 | #include "core.h" | 20 | #include "core.h" |
19 | #include "target.h" | 21 | #include "target.h" |
20 | #include "hif-ops.h" | 22 | #include "hif-ops.h" |
@@ -59,6 +61,8 @@ int ath6kl_hif_rw_comp_handler(void *context, int status) | |||
59 | 61 | ||
60 | return 0; | 62 | return 0; |
61 | } | 63 | } |
64 | EXPORT_SYMBOL(ath6kl_hif_rw_comp_handler); | ||
65 | |||
62 | #define REG_DUMP_COUNT_AR6003 60 | 66 | #define REG_DUMP_COUNT_AR6003 60 |
63 | #define REGISTER_DUMP_LEN_MAX 60 | 67 | #define REGISTER_DUMP_LEN_MAX 60 |
64 | 68 | ||
@@ -560,6 +564,7 @@ int ath6kl_hif_intr_bh_handler(struct ath6kl *ar) | |||
560 | 564 | ||
561 | return status; | 565 | return status; |
562 | } | 566 | } |
567 | EXPORT_SYMBOL(ath6kl_hif_intr_bh_handler); | ||
563 | 568 | ||
564 | static int ath6kl_hif_enable_intrs(struct ath6kl_device *dev) | 569 | static int ath6kl_hif_enable_intrs(struct ath6kl_device *dev) |
565 | { | 570 | { |