aboutsummaryrefslogtreecommitdiff
path: root/at76_usb.h
diff options
context:
space:
mode:
authorPavel Roskin <proski@gnu.org>2007-04-13 02:57:32 -0400
committerGuido Guenther <agx@bogon.sigxcpu.org>2007-04-13 10:38:24 +0200
commit52de37e5dcfeb9974f21601229ae0374bde6abb9 (patch)
tree1f05f835e560b10b92d61dc5abb5fe8643cfee4e /at76_usb.h
parentfd657a169b50a56b3e524aa367fe7aa39c47fd43 (diff)
[PATCH] Change buffer pointers to void* or safer types to avoid casts
Signed-off-by: Pavel Roskin <proski@gnu.org>
Diffstat (limited to 'at76_usb.h')
-rw-r--r--at76_usb.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/at76_usb.h b/at76_usb.h
index a9bae2e..944e41f 100644
--- a/at76_usb.h
+++ b/at76_usb.h
@@ -475,7 +475,7 @@ struct at76_priv {
struct sk_buff *rx_skb; /* skbuff for receiving packets */
__u8 bulk_in_endpointAddr; /* the address of the bulk in endpoint */
- unsigned char *bulk_out_buffer; /* the buffer to send data */
+ void *bulk_out_buffer; /* the buffer to send data */
int bulk_out_size; /* the size of the send buffer */
struct urb *write_urb; /* the urb used to send data */
struct urb *read_urb;
@@ -492,7 +492,7 @@ struct at76_priv {
struct tasklet_struct tasklet;
struct urb *rx_urb; /* tmp urb pointer for rx_tasklet */
- unsigned char *ctrl_buffer;
+ void *ctrl_buffer;
struct urb *ctrl_urb;
u8 op_mode;