aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--drivers/bluetooth/btuart_cs.c15
1 files changed, 4 insertions, 11 deletions
diff --git a/drivers/bluetooth/btuart_cs.c b/drivers/bluetooth/btuart_cs.c
index beb262f2dc4d..970e2d3dd3c2 100644
--- a/drivers/bluetooth/btuart_cs.c
+++ b/drivers/bluetooth/btuart_cs.c
@@ -458,12 +458,6 @@ static int btuart_hci_send_frame(struct sk_buff *skb)
458} 458}
459 459
460 460
461static int btuart_hci_ioctl(struct hci_dev *hdev, unsigned int cmd, unsigned long arg)
462{
463 return -ENOIOCTLCMD;
464}
465
466
467 461
468/* ======================== Card services HCI interaction ======================== */ 462/* ======================== Card services HCI interaction ======================== */
469 463
@@ -495,11 +489,10 @@ static int btuart_open(btuart_info_t *info)
495 hci_set_drvdata(hdev, info); 489 hci_set_drvdata(hdev, info);
496 SET_HCIDEV_DEV(hdev, &info->p_dev->dev); 490 SET_HCIDEV_DEV(hdev, &info->p_dev->dev);
497 491
498 hdev->open = btuart_hci_open; 492 hdev->open = btuart_hci_open;
499 hdev->close = btuart_hci_close; 493 hdev->close = btuart_hci_close;
500 hdev->flush = btuart_hci_flush; 494 hdev->flush = btuart_hci_flush;
501 hdev->send = btuart_hci_send_frame; 495 hdev->send = btuart_hci_send_frame;
502 hdev->ioctl = btuart_hci_ioctl;
503 496
504 spin_lock_irqsave(&(info->lock), flags); 497 spin_lock_irqsave(&(info->lock), flags);
505 498