OSDN Git Service

staging: vt6656: struct vnt_beacon_buffer replace byType with type
authorMalcolm Priestley <tvboxspy@gmail.com>
Tue, 22 Jul 2014 21:49:47 +0000 (22:49 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 22 Jul 2014 23:19:35 +0000 (16:19 -0700)
Removing camel case

Signed-off-by: Malcolm Priestley <tvboxspy@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/vt6656/rxtx.c
drivers/staging/vt6656/rxtx.h

index 5a7114d..2dc7a17 100644 (file)
@@ -1046,7 +1046,7 @@ static int vnt_beacon_xmit(struct vnt_private *priv,
 
        beacon_buffer->tx_byte_count = cpu_to_le16(count);
        beacon_buffer->pkt_no = context->pkt_no;
-       beacon_buffer->byType = 0x01;
+       beacon_buffer->type = 0x01;
 
        context->type = CONTEXT_BEACON_PACKET;
        context->buf_len = count + 4; /* USB header */
index 808058f..d5769c1 100644 (file)
@@ -245,7 +245,7 @@ struct vnt_tx_short_buf_head {
 } __packed;
 
 struct vnt_beacon_buffer {
-       u8 byType;
+       u8 type;
        u8 pkt_no;
        __le16 tx_byte_count;
        struct vnt_tx_short_buf_head short_head;