.. | .. |
---|
35 | 35 | #include <linux/slab.h> |
---|
36 | 36 | #include <linux/usb.h> |
---|
37 | 37 | |
---|
38 | | -#include <linux/can.h> |
---|
39 | | -#include <linux/can/dev.h> |
---|
40 | | -#include <linux/can/error.h> |
---|
41 | | - |
---|
42 | 38 | #define UCAN_DRIVER_NAME "ucan" |
---|
43 | 39 | #define UCAN_MAX_RX_URBS 8 |
---|
44 | 40 | /* the CAN controller needs a while to enable/disable the bus */ |
---|
.. | .. |
---|
719 | 715 | up->in_ep_size, |
---|
720 | 716 | urb->transfer_buffer, |
---|
721 | 717 | urb->transfer_dma); |
---|
722 | | - netdev_dbg(up->netdev, "not resumbmitting urb; status: %d\n", |
---|
| 718 | + netdev_dbg(up->netdev, "not resubmitting urb; status: %d\n", |
---|
723 | 719 | urb->status); |
---|
724 | 720 | return; |
---|
725 | 721 | default: |
---|
.. | .. |
---|
1449 | 1445 | |
---|
1450 | 1446 | /* request the device information and store it in ctl_msg_buffer |
---|
1451 | 1447 | * |
---|
1452 | | - * note: ucan_ctrl_command_* wrappers connot be used yet |
---|
| 1448 | + * note: ucan_ctrl_command_* wrappers cannot be used yet |
---|
1453 | 1449 | * because `up` is initialised in Stage 3 |
---|
1454 | 1450 | */ |
---|
1455 | 1451 | ret = usb_control_msg(udev, |
---|
.. | .. |
---|
1498 | 1494 | |
---|
1499 | 1495 | up = netdev_priv(netdev); |
---|
1500 | 1496 | |
---|
1501 | | - /* initialze data */ |
---|
| 1497 | + /* initialize data */ |
---|
1502 | 1498 | up->udev = udev; |
---|
1503 | 1499 | up->intf = intf; |
---|
1504 | 1500 | up->netdev = netdev; |
---|