diff options
author | Greg Kroah-Hartman <gregkh@suse.de> | 2009-09-02 10:35:56 -0700 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2009-09-15 12:02:03 -0700 |
commit | ce9ea4cf49b0ba4c67be71550d6cd955b718e967 (patch) | |
tree | 185f83689439ae0ea313a73b5bf25c6c1301e04c /drivers/staging/hv/RndisFilter.c | |
parent | 21a8082043aa474107f4ed62fb62651ffad8e2f6 (diff) |
Staging: hv: rename struct NETVSC_DEVICE
The Linux kernel doesn't have all caps structures, we don't like to
shout at our programmers, it makes them grumpy. Instead, we like to
sooth them with small, rounded letters, which puts them in a nice,
compliant mood, and makes them more productive and happier, allowing
them more fufilling lives overall.
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 | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/drivers/staging/hv/RndisFilter.c b/drivers/staging/hv/RndisFilter.c index 33c205a091b..6ebe70ec688 100644 --- a/drivers/staging/hv/RndisFilter.c +++ b/drivers/staging/hv/RndisFilter.c @@ -40,7 +40,7 @@ enum rndis_device_state { }; struct rndis_device { - struct NETVSC_DEVICE *NetDevice; + struct netvsc_device *NetDevice; enum rndis_device_state State; u32 LinkStatus; @@ -390,7 +390,7 @@ static void RndisFilterReceiveData(struct rndis_device *Device, static int RndisFilterOnReceive(struct hv_device *Device, struct hv_netvsc_packet *Packet) { - struct NETVSC_DEVICE *netDevice = Device->Extension; + struct netvsc_device *netDevice = Device->Extension; struct rndis_device *rndisDevice; struct rndis_message rndisMessage; struct rndis_message *rndisHeader; @@ -791,7 +791,7 @@ static int RndisFilterOnDeviceAdd(struct hv_device *Device, void *AdditionalInfo) { int ret; - struct NETVSC_DEVICE *netDevice; + struct netvsc_device *netDevice; struct rndis_device *rndisDevice; struct netvsc_device_info *deviceInfo = AdditionalInfo; @@ -867,7 +867,7 @@ static int RndisFilterOnDeviceAdd(struct hv_device *Device, static int RndisFilterOnDeviceRemove(struct hv_device *Device) { - struct NETVSC_DEVICE *netDevice = Device->Extension; + struct netvsc_device *netDevice = Device->Extension; struct rndis_device *rndisDevice = netDevice->Extension; DPRINT_ENTER(NETVSC); @@ -896,7 +896,7 @@ static void RndisFilterOnCleanup(struct hv_driver *Driver) static int RndisFilterOnOpen(struct hv_device *Device) { int ret; - struct NETVSC_DEVICE *netDevice = Device->Extension; + struct netvsc_device *netDevice = Device->Extension; DPRINT_ENTER(NETVSC); @@ -911,7 +911,7 @@ static int RndisFilterOnOpen(struct hv_device *Device) static int RndisFilterOnClose(struct hv_device *Device) { int ret; - struct NETVSC_DEVICE *netDevice = Device->Extension; + struct netvsc_device *netDevice = Device->Extension; DPRINT_ENTER(NETVSC); |