]> git.proxmox.com Git - mirror_ubuntu-focal-kernel.git/blobdiff - drivers/bluetooth/bt3c_cs.c
IRQ: Maintain regs pointer globally rather than passing to IRQ handlers
[mirror_ubuntu-focal-kernel.git] / drivers / bluetooth / bt3c_cs.c
index c9dba5565caceacca71d53092bb7759540a32244..3a96a0babc6af679a36fb3b2b5a954a17f09a2f9 100644 (file)
@@ -338,7 +338,7 @@ static void bt3c_receive(bt3c_info_t *info)
 }
 
 
-static irqreturn_t bt3c_interrupt(int irq, void *dev_inst, struct pt_regs *regs)
+static irqreturn_t bt3c_interrupt(int irq, void *dev_inst)
 {
        bt3c_info_t *info = dev_inst;
        unsigned int iobase;
@@ -582,6 +582,7 @@ static int bt3c_open(bt3c_info_t *info)
 
        hdev->type = HCI_PCCARD;
        hdev->driver_data = info;
+       SET_HCIDEV_DEV(hdev, &info->p_dev->dev);
 
        hdev->open     = bt3c_hci_open;
        hdev->close    = bt3c_hci_close;