summaryrefslogtreecommitdiffstats
path: root/drivers
diff options
context:
space:
mode:
authorShengzhen Li <szli@marvell.com>2015-08-19 12:12:19 +0200
committerMarcel Holtmann <marcel@holtmann.org>2015-08-28 21:00:36 +0200
commitd4902632ffe5d6958bd267a6712575e3a312a6e2 (patch)
tree02b67ccb9be14bbcf859f403c4020d6ede3b55bd /drivers
parentBluetooth: hci_bcm: Use non-sleep version of gpio_set_value (diff)
downloadlinux-d4902632ffe5d6958bd267a6712575e3a312a6e2.tar.xz
linux-d4902632ffe5d6958bd267a6712575e3a312a6e2.zip
Bluetooth: btmrvl: change device pointer passed to dev_coredumpv
This change ensures we will get driver name as 'btmrvl_sdio' in udev event. Signed-off-by: Shengzhen Li <szli@marvell.com> Signed-off-by: Amitkumar Karwar <akarwar@marvell.com> Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
Diffstat (limited to 'drivers')
-rw-r--r--drivers/bluetooth/btmrvl_sdio.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/bluetooth/btmrvl_sdio.c b/drivers/bluetooth/btmrvl_sdio.c
index 7c097629e593..b9978a7ba0cc 100644
--- a/drivers/bluetooth/btmrvl_sdio.c
+++ b/drivers/bluetooth/btmrvl_sdio.c
@@ -1376,8 +1376,7 @@ done:
/* fw_dump_data will be free in device coredump release function
after 5 min*/
- dev_coredumpv(&priv->btmrvl_dev.hcidev->dev, fw_dump_data,
- fw_dump_len, GFP_KERNEL);
+ dev_coredumpv(&card->func->dev, fw_dump_data, fw_dump_len, GFP_KERNEL);
BT_INFO("== btmrvl firmware dump to /sys/class/devcoredump end");
}