diff options
| author | Glenn Elliott <gelliott@cs.unc.edu> | 2012-03-04 19:47:13 -0500 |
|---|---|---|
| committer | Glenn Elliott <gelliott@cs.unc.edu> | 2012-03-04 19:47:13 -0500 |
| commit | c71c03bda1e86c9d5198c5d83f712e695c4f2a1e (patch) | |
| tree | ecb166cb3e2b7e2adb3b5e292245fefd23381ac8 /drivers/bluetooth/btsdio.c | |
| parent | ea53c912f8a86a8567697115b6a0d8152beee5c8 (diff) | |
| parent | 6a00f206debf8a5c8899055726ad127dbeeed098 (diff) | |
Merge branch 'mpi-master' into wip-k-fmlpwip-k-fmlp
Conflicts:
litmus/sched_cedf.c
Diffstat (limited to 'drivers/bluetooth/btsdio.c')
| -rw-r--r-- | drivers/bluetooth/btsdio.c | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/drivers/bluetooth/btsdio.c b/drivers/bluetooth/btsdio.c index 76e5127884f0..792e32d29a1d 100644 --- a/drivers/bluetooth/btsdio.c +++ b/drivers/bluetooth/btsdio.c | |||
| @@ -46,6 +46,9 @@ static const struct sdio_device_id btsdio_table[] = { | |||
| 46 | /* Generic Bluetooth Type-B SDIO device */ | 46 | /* Generic Bluetooth Type-B SDIO device */ |
| 47 | { SDIO_DEVICE_CLASS(SDIO_CLASS_BT_B) }, | 47 | { SDIO_DEVICE_CLASS(SDIO_CLASS_BT_B) }, |
| 48 | 48 | ||
| 49 | /* Generic Bluetooth AMP controller */ | ||
| 50 | { SDIO_DEVICE_CLASS(SDIO_CLASS_BT_AMP) }, | ||
| 51 | |||
| 49 | { } /* Terminating entry */ | 52 | { } /* Terminating entry */ |
| 50 | }; | 53 | }; |
| 51 | 54 | ||
| @@ -329,6 +332,11 @@ static int btsdio_probe(struct sdio_func *func, | |||
| 329 | hdev->bus = HCI_SDIO; | 332 | hdev->bus = HCI_SDIO; |
| 330 | hdev->driver_data = data; | 333 | hdev->driver_data = data; |
| 331 | 334 | ||
| 335 | if (id->class == SDIO_CLASS_BT_AMP) | ||
| 336 | hdev->dev_type = HCI_AMP; | ||
| 337 | else | ||
| 338 | hdev->dev_type = HCI_BREDR; | ||
| 339 | |||
| 332 | data->hdev = hdev; | 340 | data->hdev = hdev; |
| 333 | 341 | ||
| 334 | SET_HCIDEV_DEV(hdev, &func->dev); | 342 | SET_HCIDEV_DEV(hdev, &func->dev); |
