diff options
Diffstat (limited to 'drivers/dma/dmatest.c')
-rw-r--r-- | drivers/dma/dmatest.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/dma/dmatest.c b/drivers/dma/dmatest.c index 7254c20007f8..6796eb1a8a4c 100644 --- a/drivers/dma/dmatest.c +++ b/drivers/dma/dmatest.c | |||
@@ -329,7 +329,7 @@ static void dmatest_callback(void *arg) | |||
329 | { | 329 | { |
330 | struct dmatest_done *done = arg; | 330 | struct dmatest_done *done = arg; |
331 | struct dmatest_thread *thread = | 331 | struct dmatest_thread *thread = |
332 | container_of(arg, struct dmatest_thread, done_wait); | 332 | container_of(done, struct dmatest_thread, test_done); |
333 | if (!thread->done) { | 333 | if (!thread->done) { |
334 | done->done = true; | 334 | done->done = true; |
335 | wake_up_all(done->wait); | 335 | wake_up_all(done->wait); |