Message ID | 1415744629-6946-1-git-send-email-linville@tuxdriver.com (mailing list archive) |
---|---|
State | Not Applicable, archived |
Headers | show |
Am 11.11.2014 um 23:23 schrieb John W. Linville: > Cc: Oleksij Rempel <linux@rempel-privat.de> > Signed-off-by: John W. Linville <linville@tuxdriver.com> > --- > drivers/net/wireless/ath/ath9k/htc.h | 4 +++- > 1 file changed, 3 insertions(+), 1 deletion(-) > > diff --git a/drivers/net/wireless/ath/ath9k/htc.h b/drivers/net/wireless/ath/ath9k/htc.h > index b34acdeb1f21..9dde265d3f84 100644 > --- a/drivers/net/wireless/ath/ath9k/htc.h > +++ b/drivers/net/wireless/ath/ath9k/htc.h > @@ -629,7 +629,9 @@ int ath9k_htc_init_debug(struct ath_hw *ah); > void ath9k_htc_deinit_debug(struct ath9k_htc_priv *priv); > #else > static inline int ath9k_htc_init_debug(struct ath_hw *ah) { return 0; }; > -static inline void ath9k_htc_deinit_debug(struct ath9k_htc_priv *priv) { return 0; }; > +static inline void ath9k_htc_deinit_debug(struct ath9k_htc_priv *priv) > +{ > +} > #endif /* CONFIG_ATH9K_HTC_DEBUGFS */ > > #endif /* HTC_H */ > Thank you.
diff --git a/drivers/net/wireless/ath/ath9k/htc.h b/drivers/net/wireless/ath/ath9k/htc.h index b34acdeb1f21..9dde265d3f84 100644 --- a/drivers/net/wireless/ath/ath9k/htc.h +++ b/drivers/net/wireless/ath/ath9k/htc.h @@ -629,7 +629,9 @@ int ath9k_htc_init_debug(struct ath_hw *ah); void ath9k_htc_deinit_debug(struct ath9k_htc_priv *priv); #else static inline int ath9k_htc_init_debug(struct ath_hw *ah) { return 0; }; -static inline void ath9k_htc_deinit_debug(struct ath9k_htc_priv *priv) { return 0; }; +static inline void ath9k_htc_deinit_debug(struct ath9k_htc_priv *priv) +{ +} #endif /* CONFIG_ATH9K_HTC_DEBUGFS */ #endif /* HTC_H */
Cc: Oleksij Rempel <linux@rempel-privat.de> Signed-off-by: John W. Linville <linville@tuxdriver.com> --- drivers/net/wireless/ath/ath9k/htc.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-)