summaryrefslogtreecommitdiffstats
path: root/drivers/atm/solos-pci.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/atm/solos-pci.c')
-rw-r--r--drivers/atm/solos-pci.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/atm/solos-pci.c b/drivers/atm/solos-pci.c
index 9115b292e680..077dd15c3a40 100644
--- a/drivers/atm/solos-pci.c
+++ b/drivers/atm/solos-pci.c
@@ -493,7 +493,7 @@ static int send_command(struct solos_card *card, int dev, const char *buf, size_
493 header->vci = cpu_to_le16(0); 493 header->vci = cpu_to_le16(0);
494 header->type = cpu_to_le16(PKT_COMMAND); 494 header->type = cpu_to_le16(PKT_COMMAND);
495 495
496 memcpy(skb_put(skb, size), buf, size); 496 skb_put_data(skb, buf, size);
497 497
498 fpga_queue(card, dev, skb, NULL); 498 fpga_queue(card, dev, skb, NULL);
499 499