diff options
author | Rajkumar Manoharan <rmanohar@qca.qualcomm.com> | 2011-09-26 04:59:18 -0400 |
---|---|---|
committer | Kalle Valo <kvalo@qca.qualcomm.com> | 2011-09-27 03:13:27 -0400 |
commit | 3038fac8d8dbecbda8fe92eb94bf1992e6b60ee4 (patch) | |
tree | 158de96884e545f8e67a0d9fd0cd7768a4b82530 | |
parent | 1de547d6dcc66f6d9d227de9f510acbbf88a654f (diff) |
ath6kl: Fix compilation error while compiling w/o debug
drivers/net/wireless/ath/ath6kl/htc_hif.o:
In function `ath6kl_debug_fwlog_event':
drivers/net/wireless/ath/ath6kl/debug.h:109:
multiple definition of `ath6kl_debug_fwlog_event'
drivers/net/wireless/ath/ath6kl/debug.o:
drivers/net/wireless/ath/ath6kl/debug.h:109: first defined here
drivers/net/wireless/ath/ath6kl/htc_hif.o:
In function `ath6kl_debug_cleanup':
drivers/net/wireless/ath/ath6kl/debug.h:118:
multiple definition of `ath6kl_debug_cleanup'
drivers/net/wireless/ath/ath6kl/debug.o:
drivers/net/wireless/ath/ath6kl/debug.h:118: first defined here
Signed-off-by: Rajkumar Manoharan <rmanohar@qca.qualcomm.com>
Signed-off-by: Kalle Valo <kvalo@qca.qualcomm.com>
-rw-r--r-- | drivers/net/wireless/ath/ath6kl/debug.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/drivers/net/wireless/ath/ath6kl/debug.h b/drivers/net/wireless/ath/ath6kl/debug.h index f0d64711b410..89bf8e1138a3 100644 --- a/drivers/net/wireless/ath/ath6kl/debug.h +++ b/drivers/net/wireless/ath/ath6kl/debug.h | |||
@@ -105,7 +105,8 @@ static inline void dump_cred_dist_stats(struct htc_target *target) | |||
105 | { | 105 | { |
106 | } | 106 | } |
107 | 107 | ||
108 | void ath6kl_debug_fwlog_event(struct ath6kl *ar, const void *buf, size_t len) | 108 | static inline void ath6kl_debug_fwlog_event(struct ath6kl *ar, |
109 | const void *buf, size_t len) | ||
109 | { | 110 | { |
110 | } | 111 | } |
111 | 112 | ||
@@ -114,7 +115,7 @@ static inline int ath6kl_debug_init(struct ath6kl *ar) | |||
114 | return 0; | 115 | return 0; |
115 | } | 116 | } |
116 | 117 | ||
117 | void ath6kl_debug_cleanup(struct ath6kl *ar) | 118 | static inline void ath6kl_debug_cleanup(struct ath6kl *ar) |
118 | { | 119 | { |
119 | } | 120 | } |
120 | 121 | ||