]> git.ipfire.org Git - thirdparty/linux.git/blobdiff - drivers/isdn/hardware/mISDN/hfcpci.c
treewide: setup_timer() -> timer_setup()
[thirdparty/linux.git] / drivers / isdn / hardware / mISDN / hfcpci.c
index e4ebbee863a17442e96cd6e3e5bb3c9041e5d6da..ba3fe14bbe0091d21134079f7efc245add7f8f02 100644 (file)
@@ -1241,7 +1241,7 @@ hfcpci_int(int intno, void *dev_id)
  * timer callback for D-chan busy resolution. Currently no function
  */
 static void
-hfcpci_dbusy_timer(struct hfc_pci *hc)
+hfcpci_dbusy_timer(struct timer_list *t)
 {
 }
 
@@ -1717,8 +1717,7 @@ static void
 inithfcpci(struct hfc_pci *hc)
 {
        printk(KERN_DEBUG "inithfcpci: entered\n");
-       setup_timer(&hc->dch.timer, (void *)hfcpci_dbusy_timer,
-                   (long)&hc->dch);
+       timer_setup(&hc->dch.timer, hfcpci_dbusy_timer, 0);
        hc->chanlimit = 2;
        mode_hfcpci(&hc->bch[0], 1, -1);
        mode_hfcpci(&hc->bch[1], 2, -1);