diff options
author | Nik Nyby <nikolas@gnu.org> | 2015-06-29 19:09:57 -0400 |
---|---|---|
committer | Marc Kleine-Budde <mkl@pengutronix.de> | 2015-08-20 04:52:42 -0400 |
commit | ae421e33bce78c7d624ecbf079cdaa5248f167b6 (patch) | |
tree | b8163e8676e1702390bb99c17923db62c18e4dbb /drivers/net/can | |
parent | 824e7383e92815cb591793c74cc836aa5165f7f8 (diff) |
can: gs_usb: Fix typo in function name
This fixes typos in gs_usb.c where 'receive' is misspelled
as 'recieve'.
Signed-off-by: Nik Nyby <nikolas@gnu.org>
Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
Diffstat (limited to 'drivers/net/can')
-rw-r--r-- | drivers/net/can/usb/gs_usb.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/drivers/net/can/usb/gs_usb.c b/drivers/net/can/usb/gs_usb.c index 8b4d3e6875eb..5eee62badf45 100644 --- a/drivers/net/can/usb/gs_usb.c +++ b/drivers/net/can/usb/gs_usb.c | |||
@@ -162,7 +162,7 @@ struct gs_can { | |||
162 | struct can_bittiming_const bt_const; | 162 | struct can_bittiming_const bt_const; |
163 | unsigned int channel; /* channel number */ | 163 | unsigned int channel; /* channel number */ |
164 | 164 | ||
165 | /* This lock prevents a race condition between xmit and recieve. */ | 165 | /* This lock prevents a race condition between xmit and receive. */ |
166 | spinlock_t tx_ctx_lock; | 166 | spinlock_t tx_ctx_lock; |
167 | struct gs_tx_context tx_context[GS_MAX_TX_URBS]; | 167 | struct gs_tx_context tx_context[GS_MAX_TX_URBS]; |
168 | 168 | ||
@@ -274,7 +274,7 @@ static void gs_update_state(struct gs_can *dev, struct can_frame *cf) | |||
274 | } | 274 | } |
275 | } | 275 | } |
276 | 276 | ||
277 | static void gs_usb_recieve_bulk_callback(struct urb *urb) | 277 | static void gs_usb_receive_bulk_callback(struct urb *urb) |
278 | { | 278 | { |
279 | struct gs_usb *usbcan = urb->context; | 279 | struct gs_usb *usbcan = urb->context; |
280 | struct gs_can *dev; | 280 | struct gs_can *dev; |
@@ -376,7 +376,7 @@ static void gs_usb_recieve_bulk_callback(struct urb *urb) | |||
376 | usb_rcvbulkpipe(usbcan->udev, GSUSB_ENDPOINT_IN), | 376 | usb_rcvbulkpipe(usbcan->udev, GSUSB_ENDPOINT_IN), |
377 | hf, | 377 | hf, |
378 | sizeof(struct gs_host_frame), | 378 | sizeof(struct gs_host_frame), |
379 | gs_usb_recieve_bulk_callback, | 379 | gs_usb_receive_bulk_callback, |
380 | usbcan | 380 | usbcan |
381 | ); | 381 | ); |
382 | 382 | ||
@@ -605,7 +605,7 @@ static int gs_can_open(struct net_device *netdev) | |||
605 | GSUSB_ENDPOINT_IN), | 605 | GSUSB_ENDPOINT_IN), |
606 | buf, | 606 | buf, |
607 | sizeof(struct gs_host_frame), | 607 | sizeof(struct gs_host_frame), |
608 | gs_usb_recieve_bulk_callback, | 608 | gs_usb_receive_bulk_callback, |
609 | parent); | 609 | parent); |
610 | urb->transfer_flags |= URB_NO_TRANSFER_DMA_MAP; | 610 | urb->transfer_flags |= URB_NO_TRANSFER_DMA_MAP; |
611 | 611 | ||