aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/bluetooth
diff options
context:
space:
mode:
authorMarcel Holtmann <marcel@holtmann.org>2010-02-08 09:27:07 -0500
committerMarcel Holtmann <marcel@holtmann.org>2010-02-27 08:05:38 -0500
commitc13854cef4751000b968d4e8ac95796562d5b96f (patch)
tree0955205615783cfdf112c9bbf264ef1fe57409ed /drivers/bluetooth
parent10f7891f998e84acfa31ac9c5a0fea052c39ecb8 (diff)
Bluetooth: Convert controller hdev->type to hdev->bus
The hdev->type is misnamed and should be actually hdev->bus instead. So convert it now. Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
Diffstat (limited to 'drivers/bluetooth')
-rw-r--r--drivers/bluetooth/bfusb.c2
-rw-r--r--drivers/bluetooth/bluecard_cs.c2
-rw-r--r--drivers/bluetooth/bpa10x.c2
-rw-r--r--drivers/bluetooth/bt3c_cs.c2
-rw-r--r--drivers/bluetooth/btmrvl_main.c2
-rw-r--r--drivers/bluetooth/btsdio.c2
-rw-r--r--drivers/bluetooth/btuart_cs.c2
-rw-r--r--drivers/bluetooth/btusb.c2
-rw-r--r--drivers/bluetooth/dtl1_cs.c2
-rw-r--r--drivers/bluetooth/hci_ldisc.c2
-rw-r--r--drivers/bluetooth/hci_vhci.c2
11 files changed, 11 insertions, 11 deletions
diff --git a/drivers/bluetooth/bfusb.c b/drivers/bluetooth/bfusb.c
index 2a00707aba3b..005919ab043c 100644
--- a/drivers/bluetooth/bfusb.c
+++ b/drivers/bluetooth/bfusb.c
@@ -703,7 +703,7 @@ static int bfusb_probe(struct usb_interface *intf, const struct usb_device_id *i
703 703
704 data->hdev = hdev; 704 data->hdev = hdev;
705 705
706 hdev->type = HCI_USB; 706 hdev->bus = HCI_USB;
707 hdev->driver_data = data; 707 hdev->driver_data = data;
708 SET_HCIDEV_DEV(hdev, &intf->dev); 708 SET_HCIDEV_DEV(hdev, &intf->dev);
709 709
diff --git a/drivers/bluetooth/bluecard_cs.c b/drivers/bluetooth/bluecard_cs.c
index c2cf81144715..d9bf87ca9e83 100644
--- a/drivers/bluetooth/bluecard_cs.c
+++ b/drivers/bluetooth/bluecard_cs.c
@@ -736,7 +736,7 @@ static int bluecard_open(bluecard_info_t *info)
736 736
737 info->hdev = hdev; 737 info->hdev = hdev;
738 738
739 hdev->type = HCI_PCCARD; 739 hdev->bus = HCI_PCCARD;
740 hdev->driver_data = info; 740 hdev->driver_data = info;
741 SET_HCIDEV_DEV(hdev, &info->p_dev->dev); 741 SET_HCIDEV_DEV(hdev, &info->p_dev->dev);
742 742
diff --git a/drivers/bluetooth/bpa10x.c b/drivers/bluetooth/bpa10x.c
index c115285867c3..d945cd12433a 100644
--- a/drivers/bluetooth/bpa10x.c
+++ b/drivers/bluetooth/bpa10x.c
@@ -469,7 +469,7 @@ static int bpa10x_probe(struct usb_interface *intf, const struct usb_device_id *
469 return -ENOMEM; 469 return -ENOMEM;
470 } 470 }
471 471
472 hdev->type = HCI_USB; 472 hdev->bus = HCI_USB;
473 hdev->driver_data = data; 473 hdev->driver_data = data;
474 474
475 data->hdev = hdev; 475 data->hdev = hdev;
diff --git a/drivers/bluetooth/bt3c_cs.c b/drivers/bluetooth/bt3c_cs.c
index 9f5926aaf57f..027cb8bf650f 100644
--- a/drivers/bluetooth/bt3c_cs.c
+++ b/drivers/bluetooth/bt3c_cs.c
@@ -582,7 +582,7 @@ static int bt3c_open(bt3c_info_t *info)
582 582
583 info->hdev = hdev; 583 info->hdev = hdev;
584 584
585 hdev->type = HCI_PCCARD; 585 hdev->bus = HCI_PCCARD;
586 hdev->driver_data = info; 586 hdev->driver_data = info;
587 SET_HCIDEV_DEV(hdev, &info->p_dev->dev); 587 SET_HCIDEV_DEV(hdev, &info->p_dev->dev);
588 588
diff --git a/drivers/bluetooth/btmrvl_main.c b/drivers/bluetooth/btmrvl_main.c
index f97771ce432c..53a43adf2e21 100644
--- a/drivers/bluetooth/btmrvl_main.c
+++ b/drivers/bluetooth/btmrvl_main.c
@@ -563,7 +563,7 @@ struct btmrvl_private *btmrvl_add_card(void *card)
563 563
564 priv->btmrvl_dev.tx_dnld_rdy = true; 564 priv->btmrvl_dev.tx_dnld_rdy = true;
565 565
566 hdev->type = HCI_SDIO; 566 hdev->bus = HCI_SDIO;
567 hdev->open = btmrvl_open; 567 hdev->open = btmrvl_open;
568 hdev->close = btmrvl_close; 568 hdev->close = btmrvl_close;
569 hdev->flush = btmrvl_flush; 569 hdev->flush = btmrvl_flush;
diff --git a/drivers/bluetooth/btsdio.c b/drivers/bluetooth/btsdio.c
index 7e298275c8f6..76e5127884f0 100644
--- a/drivers/bluetooth/btsdio.c
+++ b/drivers/bluetooth/btsdio.c
@@ -326,7 +326,7 @@ static int btsdio_probe(struct sdio_func *func,
326 return -ENOMEM; 326 return -ENOMEM;
327 } 327 }
328 328
329 hdev->type = HCI_SDIO; 329 hdev->bus = HCI_SDIO;
330 hdev->driver_data = data; 330 hdev->driver_data = data;
331 331
332 data->hdev = hdev; 332 data->hdev = hdev;
diff --git a/drivers/bluetooth/btuart_cs.c b/drivers/bluetooth/btuart_cs.c
index 91c523099804..60c0953d7d00 100644
--- a/drivers/bluetooth/btuart_cs.c
+++ b/drivers/bluetooth/btuart_cs.c
@@ -500,7 +500,7 @@ static int btuart_open(btuart_info_t *info)
500 500
501 info->hdev = hdev; 501 info->hdev = hdev;
502 502
503 hdev->type = HCI_PCCARD; 503 hdev->bus = HCI_PCCARD;
504 hdev->driver_data = info; 504 hdev->driver_data = info;
505 SET_HCIDEV_DEV(hdev, &info->p_dev->dev); 505 SET_HCIDEV_DEV(hdev, &info->p_dev->dev);
506 506
diff --git a/drivers/bluetooth/btusb.c b/drivers/bluetooth/btusb.c
index a699f09ddf7c..5d9cc53bd643 100644
--- a/drivers/bluetooth/btusb.c
+++ b/drivers/bluetooth/btusb.c
@@ -939,7 +939,7 @@ static int btusb_probe(struct usb_interface *intf,
939 return -ENOMEM; 939 return -ENOMEM;
940 } 940 }
941 941
942 hdev->type = HCI_USB; 942 hdev->bus = HCI_USB;
943 hdev->driver_data = data; 943 hdev->driver_data = data;
944 944
945 data->hdev = hdev; 945 data->hdev = hdev;
diff --git a/drivers/bluetooth/dtl1_cs.c b/drivers/bluetooth/dtl1_cs.c
index 697591941e17..17788317c51a 100644
--- a/drivers/bluetooth/dtl1_cs.c
+++ b/drivers/bluetooth/dtl1_cs.c
@@ -485,7 +485,7 @@ static int dtl1_open(dtl1_info_t *info)
485 485
486 info->hdev = hdev; 486 info->hdev = hdev;
487 487
488 hdev->type = HCI_PCCARD; 488 hdev->bus = HCI_PCCARD;
489 hdev->driver_data = info; 489 hdev->driver_data = info;
490 SET_HCIDEV_DEV(hdev, &info->p_dev->dev); 490 SET_HCIDEV_DEV(hdev, &info->p_dev->dev);
491 491
diff --git a/drivers/bluetooth/hci_ldisc.c b/drivers/bluetooth/hci_ldisc.c
index aa0919386b8c..76a1abb8f214 100644
--- a/drivers/bluetooth/hci_ldisc.c
+++ b/drivers/bluetooth/hci_ldisc.c
@@ -383,7 +383,7 @@ static int hci_uart_register_dev(struct hci_uart *hu)
383 383
384 hu->hdev = hdev; 384 hu->hdev = hdev;
385 385
386 hdev->type = HCI_UART; 386 hdev->bus = HCI_UART;
387 hdev->driver_data = hu; 387 hdev->driver_data = hu;
388 388
389 hdev->open = hci_uart_open; 389 hdev->open = hci_uart_open;
diff --git a/drivers/bluetooth/hci_vhci.c b/drivers/bluetooth/hci_vhci.c
index 7595274103fd..bb0aefdb4267 100644
--- a/drivers/bluetooth/hci_vhci.c
+++ b/drivers/bluetooth/hci_vhci.c
@@ -236,7 +236,7 @@ static int vhci_open(struct inode *inode, struct file *file)
236 236
237 data->hdev = hdev; 237 data->hdev = hdev;
238 238
239 hdev->type = HCI_VIRTUAL; 239 hdev->bus = HCI_VIRTUAL;
240 hdev->driver_data = data; 240 hdev->driver_data = data;
241 241
242 hdev->open = vhci_open_dev; 242 hdev->open = vhci_open_dev;