diff options
author | Bill Pemberton <wfp5p@virginia.edu> | 2009-07-27 16:47:44 -0400 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2009-09-15 12:01:51 -0700 |
commit | d1af1db7d6cd7818e92531e170cc65510dd57692 (patch) | |
tree | f123d14d6956ba0d121077074676ab37d15c9577 /drivers/staging/hv/RndisFilter.c | |
parent | a9a71354b07dc1a3ee6a4053b43d5219fcda7a42 (diff) |
Staging: hv: remove NETVSC_DEVICE typedef
Signed-off-by: Bill Pemberton <wfp5p@virginia.edu>
Cc: Hank Janssen <hjanssen@microsoft.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'drivers/staging/hv/RndisFilter.c')
-rw-r--r-- | drivers/staging/hv/RndisFilter.c | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/drivers/staging/hv/RndisFilter.c b/drivers/staging/hv/RndisFilter.c index 91916676174..fd483fc88aa 100644 --- a/drivers/staging/hv/RndisFilter.c +++ b/drivers/staging/hv/RndisFilter.c @@ -46,7 +46,7 @@ typedef enum { } RNDIS_DEVICE_STATE; typedef struct _RNDIS_DEVICE { - NETVSC_DEVICE *NetDevice; + struct NETVSC_DEVICE *NetDevice; RNDIS_DEVICE_STATE State; u32 LinkStatus; @@ -494,7 +494,7 @@ RndisFilterOnReceive( NETVSC_PACKET *Packet ) { - NETVSC_DEVICE *netDevice = (NETVSC_DEVICE*)Device->Extension; + struct NETVSC_DEVICE *netDevice = (struct NETVSC_DEVICE*)Device->Extension; RNDIS_DEVICE *rndisDevice; RNDIS_MESSAGE rndisMessage; RNDIS_MESSAGE *rndisHeader; @@ -933,7 +933,7 @@ RndisFilterOnDeviceAdd( ) { int ret; - NETVSC_DEVICE *netDevice; + struct NETVSC_DEVICE *netDevice; RNDIS_DEVICE *rndisDevice; NETVSC_DEVICE_INFO *deviceInfo = (NETVSC_DEVICE_INFO*)AdditionalInfo; @@ -962,7 +962,7 @@ RndisFilterOnDeviceAdd( /* Initialize the rndis device */ - netDevice = (NETVSC_DEVICE*)Device->Extension; + netDevice = (struct NETVSC_DEVICE*)Device->Extension; ASSERT(netDevice); ASSERT(netDevice->Device); @@ -1010,7 +1010,7 @@ RndisFilterOnDeviceRemove( DEVICE_OBJECT *Device ) { - NETVSC_DEVICE *netDevice = (NETVSC_DEVICE*)Device->Extension; + struct NETVSC_DEVICE *netDevice = (struct NETVSC_DEVICE*)Device->Extension; RNDIS_DEVICE *rndisDevice = (RNDIS_DEVICE*)netDevice->Extension; DPRINT_ENTER(NETVSC); @@ -1046,7 +1046,7 @@ RndisFilterOnOpen( ) { int ret; - NETVSC_DEVICE *netDevice = (NETVSC_DEVICE*)Device->Extension; + struct NETVSC_DEVICE *netDevice = (struct NETVSC_DEVICE*)Device->Extension; DPRINT_ENTER(NETVSC); @@ -1064,7 +1064,7 @@ RndisFilterOnClose( ) { int ret; - NETVSC_DEVICE *netDevice = (NETVSC_DEVICE*)Device->Extension; + struct NETVSC_DEVICE *netDevice = (struct NETVSC_DEVICE*)Device->Extension; DPRINT_ENTER(NETVSC); |