staging: rtl8723au: PS_RDY_CHECK() return bools in 'bool'
authorJes Sorensen <Jes.Sorensen@redhat.com>
Sun, 25 May 2014 20:43:22 +0000 (22:43 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sun, 25 May 2014 22:14:41 +0000 (15:14 -0700)
Signed-off-by: Jes Sorensen <Jes.Sorensen@redhat.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/rtl8723au/core/rtw_pwrctrl.c

index 937bbbcaa1bc4b94c82c097247e92aef1d025594..79cc729cdae6a4507b9490dfafec1c76320fc858 100644 (file)
@@ -288,7 +288,7 @@ void rtw_set_rpwm23a(struct rtw_adapter *padapter, u8 pslv)
        pwrpriv->cpwm = pslv;
 }
 
-static u8 PS_RDY_CHECK(struct rtw_adapter * padapter)
+static bool PS_RDY_CHECK(struct rtw_adapter * padapter)
 {
        unsigned long delta_time;
        struct pwrctrl_priv *pwrpriv = &padapter->pwrctrlpriv;