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>
This commit is contained in:
Shengzhen Li 2015-08-19 03:12:19 -07:00 коммит произвёл Marcel Holtmann
Родитель 2af0a70913
Коммит d4902632ff
1 изменённых файлов: 1 добавлений и 2 удалений

Просмотреть файл

@ -1376,8 +1376,7 @@ done:
/* fw_dump_data will be free in device coredump release function /* fw_dump_data will be free in device coredump release function
after 5 min*/ after 5 min*/
dev_coredumpv(&priv->btmrvl_dev.hcidev->dev, fw_dump_data, dev_coredumpv(&card->func->dev, fw_dump_data, fw_dump_len, GFP_KERNEL);
fw_dump_len, GFP_KERNEL);
BT_INFO("== btmrvl firmware dump to /sys/class/devcoredump end"); BT_INFO("== btmrvl firmware dump to /sys/class/devcoredump end");
} }