static void hfa384x_usb_throttlefn(struct timer_list *t);
 
-static void hfa384x_usbctlx_completion_task(unsigned long data);
+static void hfa384x_usbctlx_completion_task(struct tasklet_struct *t);
 
-static void hfa384x_usbctlx_reaper_task(unsigned long data);
+static void hfa384x_usbctlx_reaper_task(struct tasklet_struct *t);
 
 static int hfa384x_usbctlx_submit(struct hfa384x *hw,
                                  struct hfa384x_usbctlx *ctlx);
        /* Initialize the authentication queue */
        skb_queue_head_init(&hw->authq);
 
-       tasklet_init(&hw->reaper_bh,
-                    hfa384x_usbctlx_reaper_task, (unsigned long)hw);
-       tasklet_init(&hw->completion_bh,
-                    hfa384x_usbctlx_completion_task, (unsigned long)hw);
+       tasklet_setup(&hw->reaper_bh, hfa384x_usbctlx_reaper_task);
+       tasklet_setup(&hw->completion_bh, hfa384x_usbctlx_completion_task);
        INIT_WORK(&hw->link_bh, prism2sta_processing_defer);
        INIT_WORK(&hw->usb_work, hfa384x_usb_defer);
 
  *     Interrupt
  *----------------------------------------------------------------
  */
-static void hfa384x_usbctlx_reaper_task(unsigned long data)
+static void hfa384x_usbctlx_reaper_task(struct tasklet_struct *t)
 {
-       struct hfa384x *hw = (struct hfa384x *)data;
+       struct hfa384x *hw = from_tasklet(hw, t, reaper_bh);
        struct hfa384x_usbctlx *ctlx, *temp;
        unsigned long flags;
 
  *     Interrupt
  *----------------------------------------------------------------
  */
-static void hfa384x_usbctlx_completion_task(unsigned long data)
+static void hfa384x_usbctlx_completion_task(struct tasklet_struct *t)
 {
-       struct hfa384x *hw = (struct hfa384x *)data;
+       struct hfa384x *hw = from_tasklet(hw, t, completion_bh);
        struct hfa384x_usbctlx *ctlx, *temp;
        unsigned long flags;
 
 
 /**
  * p80211netdev_rx_bh - deferred processing of all received frames
  *
- * @arg: pointer to WLAN network device structure (cast to unsigned long)
+ * @t: pointer to the tasklet associated with this handler
  */
-static void p80211netdev_rx_bh(unsigned long arg)
+static void p80211netdev_rx_bh(struct tasklet_struct *t)
 {
-       struct wlandevice *wlandev = (struct wlandevice *)arg;
+       struct wlandevice *wlandev = from_tasklet(wlandev, t, rx_bh);
        struct sk_buff *skb = NULL;
        struct net_device *dev = wlandev->netdev;
 
 
        /* Set up the rx queue */
        skb_queue_head_init(&wlandev->nsd_rxq);
-       tasklet_init(&wlandev->rx_bh,
-                    p80211netdev_rx_bh, (unsigned long)wlandev);
+       tasklet_setup(&wlandev->rx_bh, p80211netdev_rx_bh);
 
        /* Allocate and initialize the wiphy struct */
        wiphy = wlan_create_wiphy(physdev, wlandev);