]> git.karo-electronics.de Git - linux-beck.git/commitdiff
staging: rtl8723au: usb_halinit.c: Another u8 error code case
authorJes Sorensen <Jes.Sorensen@redhat.com>
Fri, 16 May 2014 08:04:44 +0000 (10:04 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 16 May 2014 18:34:31 +0000 (11:34 -0700)
Signed-off-by: Jes Sorensen <Jes.Sorensen@redhat.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/rtl8723au/hal/usb_halinit.c

index df26507121918462b73c316954da43dcdaef3d0a..ccc57fddd78030c82b3c2f360f7ef5cdeee805d3 100644 (file)
@@ -100,9 +100,9 @@ void rtl8723au_chip_configure(struct rtw_adapter *padapter)
                                         pdvobjpriv->RtNumOutPipes);
 }
 
-static u8 _InitPowerOn(struct rtw_adapter *padapter)
+static int _InitPowerOn(struct rtw_adapter *padapter)
 {
-       u8 status = _SUCCESS;
+       int status = _SUCCESS;
        u16 value16 = 0;
        u8 value8 = 0;