[PATCH 27/48] staging: rtl8723au: Rename BTDM_Coexist() to rtl8723a_BT_do_coexist()

Dan Carpenter dan.carpenter at oracle.com
Mon May 26 10:01:23 UTC 2014


On Sun, May 25, 2014 at 10:43:27PM +0200, Jes.Sorensen at redhat.com wrote:
> --- a/drivers/staging/rtl8723au/include/rtl8723a_bt_intf.h
> +++ b/drivers/staging/rtl8723au/include/rtl8723a_bt_intf.h
> @@ -22,6 +22,7 @@
>  bool rtl8723a_BT_using_antenna_1(struct rtw_adapter *padapter);
>  bool rtl8723a_BT_enabled(struct rtw_adapter *padapter);
>  bool rtl8723a_BT_coexist(struct rtw_adapter *padapter);
> +void rtl8723a_BT_do_coexist(struct rtw_adapter *padapter);
>  #else
>  static inline bool rtl8723a_BT_using_antenna_1(struct rtw_adapter *padapter)
>  {
> @@ -35,6 +36,7 @@ static inline bool rtl8723a_BT_coexist(struct rtw_adapter *padapter)
>  {
>  	return false;
>  }
> +#define rtl8723a_BT_do_coexist(padapter)	do {} while(0)

It won't matter in this case, but generally it would be better to make
this an empty function so you don't have to worry about different side
effects.

Several other patches have the same thing.

regards,
dan carpenter



More information about the devel mailing list