]> git.karo-electronics.de Git - karo-tx-linux.git/blobdiff - drivers/staging/vt6655/dpc.c
staging: vt6655: Remove typedef struct __chip_info_tbl
[karo-tx-linux.git] / drivers / staging / vt6655 / dpc.c
index dbaaeeb94817461c9533b0cf70133f19791e8ec2..700032e9c477e8c0584815f4cfc6bf8365d886ff 100644 (file)
@@ -132,9 +132,9 @@ static bool vnt_rx_data(struct vnt_private *priv, struct sk_buff *skb,
        return true;
 }
 
-bool vnt_receive_frame(struct vnt_private *priv, PSRxDesc curr_rd)
+bool vnt_receive_frame(struct vnt_private *priv, struct vnt_rx_desc *curr_rd)
 {
-       PDEVICE_RD_INFO rd_info = curr_rd->pRDInfo;
+       struct vnt_rd_info *rd_info = curr_rd->rd_info;
        struct sk_buff *skb;
        u16 frame_size;
 
@@ -143,7 +143,7 @@ bool vnt_receive_frame(struct vnt_private *priv, PSRxDesc curr_rd)
        dma_unmap_single(&priv->pcid->dev, rd_info->skb_dma,
                         priv->rx_buf_sz, DMA_FROM_DEVICE);
 
-       frame_size = le16_to_cpu(curr_rd->m_rd1RD1.wReqCount)
+       frame_size = le16_to_cpu(curr_rd->rd1.req_count)
                        - le16_to_cpu(curr_rd->rd0.res_count);
 
        if ((frame_size > 2364) || (frame_size < 33)) {