]> bbs.cooldavid.org Git - net-next-2.6.git/blobdiff - drivers/net/can/at91_can.c
can: make the number of echo skb's configurable
[net-next-2.6.git] / drivers / net / can / at91_can.c
index f67ae285a35ab72319e984eb3e7b43a71a3e7d17..b13fd9114130ea1153905d0b0ca8cb23ccf75881 100644 (file)
@@ -1087,7 +1087,7 @@ static int __init at91_can_probe(struct platform_device *pdev)
                goto exit_release;
        }
 
-       dev = alloc_candev(sizeof(struct at91_priv));
+       dev = alloc_candev(sizeof(struct at91_priv), AT91_MB_TX_NUM);
        if (!dev) {
                err = -ENOMEM;
                goto exit_iounmap;