* [PATCH] ath6kl: Fix compilation error while compiling w/o debug
@ 2011-09-26 8:59 Rajkumar Manoharan
2011-09-27 7:17 ` Kalle Valo
0 siblings, 1 reply; 2+ messages in thread
From: Rajkumar Manoharan @ 2011-09-26 8:59 UTC (permalink / raw)
To: linville; +Cc: linux-wireless, ath6kl-devel, Rajkumar Manoharan
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>
---
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 f0d6471..89bf8e1 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)
{
}
-void ath6kl_debug_fwlog_event(struct ath6kl *ar, const void *buf, size_t len)
+static inline void ath6kl_debug_fwlog_event(struct ath6kl *ar,
+ const void *buf, size_t len)
{
}
@@ -114,7 +115,7 @@ static inline int ath6kl_debug_init(struct ath6kl *ar)
return 0;
}
-void ath6kl_debug_cleanup(struct ath6kl *ar)
+static inline void ath6kl_debug_cleanup(struct ath6kl *ar)
{
}
--
1.7.6.4
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH] ath6kl: Fix compilation error while compiling w/o debug
2011-09-26 8:59 [PATCH] ath6kl: Fix compilation error while compiling w/o debug Rajkumar Manoharan
@ 2011-09-27 7:17 ` Kalle Valo
0 siblings, 0 replies; 2+ messages in thread
From: Kalle Valo @ 2011-09-27 7:17 UTC (permalink / raw)
To: Rajkumar Manoharan; +Cc: linville, linux-wireless
On 09/26/2011 11:59 AM, Rajkumar Manoharan wrote:
> 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
I broke this, thank you for fixing it. Patch applied.
Kalle
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2011-09-27 7:17 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-09-26 8:59 [PATCH] ath6kl: Fix compilation error while compiling w/o debug Rajkumar Manoharan
2011-09-27 7:17 ` Kalle Valo
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.