Skip to content

Commit

Permalink
ath6kl: Fix compilation error while compiling w/o debug
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Rajkumar Manoharan authored and Kalle Valo committed Sep 27, 2011
1 parent 1de547d commit 3038fac
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions drivers/net/wireless/ath/ath6kl/debug.h
Original file line number Diff line number Diff line change
Expand Up @@ -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)
{
}

Expand All @@ -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)
{
}

Expand Down

0 comments on commit 3038fac

Please sign in to comment.