Changeset 294 for GPL/trunk/alsa-kernel


Ignore:
Timestamp:
Feb 18, 2008, 6:52:09 AM (18 years ago)
Author:
Brendan Oakley
Message:

Correct queue_delayed_work

Location:
GPL/trunk/alsa-kernel
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • GPL/trunk/alsa-kernel/core/misc.c

    r124 r294  
    592592
    593593        if (!test_and_set_bit(0, &work->pending)) {
    594                 work->wq_data = work;
     594                work->wq_data = wq;
    595595                timer->expires = jiffies + delay;
    596596                timer->data = (unsigned long)work;
  • GPL/trunk/alsa-kernel/include/sound/driver.h

    r127 r294  
    7272typedef int irqreturn_t;
    7373
     74int queue_delayed_work(struct workqueue_struct *wq, struct work_struct *work, unsigned long delay);
     75
    7476#if LINUX_VERSION_CODE < KERNEL_VERSION(2, 2, 3)
    7577#error "This driver requires Linux 2.2.3 and higher."
Note: See TracChangeset for help on using the changeset viewer.