diff options
| author | Trond Myklebust <Trond.Myklebust@netapp.com> | 2006-12-07 15:48:15 -0500 |
|---|---|---|
| committer | Trond Myklebust <Trond.Myklebust@netapp.com> | 2006-12-07 15:48:15 -0500 |
| commit | 34161db6b14d984fb9b06c735b7b42f8803f6851 (patch) | |
| tree | 99656278b6697f1cde5b05894b7c0ee22c63a00e /drivers/usb/class/cdc-acm.c | |
| parent | 5847e1f4d058677c5e46dc6c3e3c70e8855ea3ba (diff) | |
| parent | 620034c84d1d939717bdfbe02c51a3fee43541c3 (diff) | |
Merge branch 'master' of /home/trondmy/kernel/linux-2.6/ into merge_linus
Conflicts:
include/linux/sunrpc/xprt.h
net/sunrpc/xprtsock.c
Fix up conflicts with the workqueue changes.
Diffstat (limited to 'drivers/usb/class/cdc-acm.c')
| -rw-r--r-- | drivers/usb/class/cdc-acm.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/usb/class/cdc-acm.c b/drivers/usb/class/cdc-acm.c index ec3438dc8ee5..7f1fa956dcdb 100644 --- a/drivers/usb/class/cdc-acm.c +++ b/drivers/usb/class/cdc-acm.c | |||
| @@ -421,9 +421,9 @@ static void acm_write_bulk(struct urb *urb) | |||
| 421 | schedule_work(&acm->work); | 421 | schedule_work(&acm->work); |
| 422 | } | 422 | } |
| 423 | 423 | ||
| 424 | static void acm_softint(void *private) | 424 | static void acm_softint(struct work_struct *work) |
| 425 | { | 425 | { |
| 426 | struct acm *acm = private; | 426 | struct acm *acm = container_of(work, struct acm, work); |
| 427 | dbg("Entering acm_softint."); | 427 | dbg("Entering acm_softint."); |
| 428 | 428 | ||
| 429 | if (!ACM_READY(acm)) | 429 | if (!ACM_READY(acm)) |
| @@ -927,7 +927,7 @@ skip_normal_probe: | |||
| 927 | acm->rx_buflimit = num_rx_buf; | 927 | acm->rx_buflimit = num_rx_buf; |
| 928 | acm->urb_task.func = acm_rx_tasklet; | 928 | acm->urb_task.func = acm_rx_tasklet; |
| 929 | acm->urb_task.data = (unsigned long) acm; | 929 | acm->urb_task.data = (unsigned long) acm; |
| 930 | INIT_WORK(&acm->work, acm_softint, acm); | 930 | INIT_WORK(&acm->work, acm_softint); |
| 931 | spin_lock_init(&acm->throttle_lock); | 931 | spin_lock_init(&acm->throttle_lock); |
| 932 | spin_lock_init(&acm->write_lock); | 932 | spin_lock_init(&acm->write_lock); |
| 933 | spin_lock_init(&acm->read_lock); | 933 | spin_lock_init(&acm->read_lock); |
