Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 6487c49e authored by Andres More's avatar Andres More Committed by Greg Kroah-Hartman
Browse files

staging: vt6656: removed NTSTATUS definition



Replaced NTSTATUS with int, as defined in a couple of places.

Signed-off-by: default avatarAndres More <more.andres@gmail.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@suse.de>
parent 22040bbf
Loading
Loading
Loading
Loading
+3 −3
Original line number Original line Diff line number Diff line
@@ -989,10 +989,10 @@ BBvSetAntennaMode (PSDevice pDevice, BYTE byAntennaMode)
 * Return Value: none
 * Return Value: none
 *
 *
 */
 */
BOOL

BBbVT3184Init (PSDevice pDevice)
BOOL BBbVT3184Init(PSDevice pDevice)
{
{
    NTSTATUS                ntStatus;
	int ntStatus;
    WORD                    wLength;
    WORD                    wLength;
    PBYTE                   pbyAddr;
    PBYTE                   pbyAddr;
    PBYTE                   pbyAgc;
    PBYTE                   pbyAgc;
+1 −1
Original line number Original line Diff line number Diff line
@@ -72,7 +72,7 @@ void ControlvWriteByte(PSDevice pDevice, BYTE byRegType, BYTE byRegOfs,
void ControlvReadByte(PSDevice pDevice, BYTE byRegType, BYTE byRegOfs,
void ControlvReadByte(PSDevice pDevice, BYTE byRegType, BYTE byRegOfs,
			PBYTE pbyData)
			PBYTE pbyData)
{
{
	NTSTATUS	ntStatus;
	int ntStatus;
	BYTE	byData1;
	BYTE	byData1;
	ntStatus = CONTROLnsRequestIn(pDevice,
	ntStatus = CONTROLnsRequestIn(pDevice,
					MESSAGE_TYPE_READ,
					MESSAGE_TYPE_READ,
+0 −1
Original line number Original line Diff line number Diff line
@@ -259,7 +259,6 @@ typedef enum _VIA_PKT_TYPE
//++ NDIS related
//++ NDIS related


#define NDIS_STATUS     int
#define NDIS_STATUS     int
#define NTSTATUS        int


typedef enum __DEVICE_NDIS_STATUS {
typedef enum __DEVICE_NDIS_STATUS {
    STATUS_SUCCESS = 0,
    STATUS_SUCCESS = 0,
+1 −1
Original line number Original line Diff line number Diff line
@@ -1519,7 +1519,7 @@ static BOOL s_bAPModeRxData (
void RXvWorkItem(void *Context)
void RXvWorkItem(void *Context)
{
{
    PSDevice pDevice = (PSDevice) Context;
    PSDevice pDevice = (PSDevice) Context;
    NTSTATUS        ntStatus;
    int ntStatus;
    PRCB            pRCB=NULL;
    PRCB            pRCB=NULL;


    DBG_PRT(MSG_LEVEL_DEBUG, KERN_INFO"---->Rx Polling Thread\n");
    DBG_PRT(MSG_LEVEL_DEBUG, KERN_INFO"---->Rx Polling Thread\n");
+1 −1
Original line number Original line Diff line number Diff line
@@ -848,7 +848,7 @@ FIRMWAREbCheckVersion(
     PSDevice pDevice
     PSDevice pDevice
    )
    )
{
{
    NTSTATUS                ntStatus;
	int ntStatus;


    ntStatus = CONTROLnsRequestIn(pDevice,
    ntStatus = CONTROLnsRequestIn(pDevice,
                                    MESSAGE_TYPE_READ,
                                    MESSAGE_TYPE_READ,
Loading