diff options
Diffstat (limited to 'drivers/net/ethernet/sun/cassini.c')
-rw-r--r-- | drivers/net/ethernet/sun/cassini.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/ethernet/sun/cassini.c b/drivers/net/ethernet/sun/cassini.c index 45292760fce4..b36edbd625dd 100644 --- a/drivers/net/ethernet/sun/cassini.c +++ b/drivers/net/ethernet/sun/cassini.c | |||
@@ -1974,7 +1974,7 @@ static int cas_rx_process_pkt(struct cas *cp, struct cas_rx_comp *rxc, | |||
1974 | else | 1974 | else |
1975 | alloclen = max(hlen, RX_COPY_MIN); | 1975 | alloclen = max(hlen, RX_COPY_MIN); |
1976 | 1976 | ||
1977 | skb = dev_alloc_skb(alloclen + swivel + cp->crc_size); | 1977 | skb = netdev_alloc_skb(cp->dev, alloclen + swivel + cp->crc_size); |
1978 | if (skb == NULL) | 1978 | if (skb == NULL) |
1979 | return -1; | 1979 | return -1; |
1980 | 1980 | ||