Commit ca09bcc9 authored by Marcel Holtmann's avatar Marcel Holtmann

[Bluetooth] Define .kobj.k_name for the fake device

The PCMCIA devices are not devices for the kernel and the bt3c_cs
driver uses a fake device for calling request_firmware(). The fake
device initialization must also set .kobj.k_name to prevent an oops
until PCMCIA devices are fully integrated into the driver model.
parent f1b6caac
...@@ -491,6 +491,9 @@ static int bt3c_hci_ioctl(struct hci_dev *hdev, unsigned int cmd, unsigned long ...@@ -491,6 +491,9 @@ static int bt3c_hci_ioctl(struct hci_dev *hdev, unsigned int cmd, unsigned long
static struct device bt3c_device = { static struct device bt3c_device = {
.bus_id = "pcmcia", .bus_id = "pcmcia",
.kobj = {
.k_name = "bt3c"
}
}; };
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment