Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 220156
b: refs/heads/master
c: 364eb72
h: refs/heads/master
v: v3
  • Loading branch information
Greg Kroah-Hartman committed Oct 7, 2010
1 parent 4c0a771 commit 3eed303
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 5 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: fff41b2e30c54c35933e6e51f775fe03c73fc572
refs/heads/master: 364eb72a3965ddf3291be74562081b1c19813473
2 changes: 0 additions & 2 deletions trunk/drivers/staging/brcm80211/include/linuxver.h
Original file line number Diff line number Diff line change
Expand Up @@ -34,8 +34,6 @@

#include <linux/workqueue.h>

#define MY_INIT_WORK(_work, _func) INIT_WORK(_work, _func)

typedef irqreturn_t(*FN_ISR) (int irq, void *dev_id, struct pt_regs * ptregs);

#include <linux/sched.h>
Expand Down
4 changes: 2 additions & 2 deletions trunk/drivers/staging/brcm80211/sys/wl_mac80211.c
Original file line number Diff line number Diff line change
Expand Up @@ -831,7 +831,7 @@ static wl_info_t *wl_attach(uint16 vendor, uint16 device, unsigned long regs,
}

/* init tx work queue for wl_start/send pkt; no need to destroy workitem */
MY_INIT_WORK(&wl->txq_task.work, (work_func_t) wl_start_txqwork);
INIT_WORK(&wl->txq_task.work, (work_func_t) wl_start_txqwork);
wl->txq_task.context = wl;
#endif /* WLC_HIGH_ONLY */

Expand Down Expand Up @@ -1670,7 +1670,7 @@ wl_schedule_task(wl_info_t *wl, void (*fn) (struct wl_task *task),
return -ENOMEM;
}

MY_INIT_WORK(&task->work, (work_func_t) fn);
INIT_WORK(&task->work, (work_func_t) fn);
task->context = context;

if (!schedule_work(&task->work)) {
Expand Down

0 comments on commit 3eed303

Please sign in to comment.