aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/dma/dmatest.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/dma/dmatest.c')
-rw-r--r--drivers/dma/dmatest.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/dma/dmatest.c b/drivers/dma/dmatest.c
index ec5f9d2bc820..80cc2be6483c 100644
--- a/drivers/dma/dmatest.c
+++ b/drivers/dma/dmatest.c
@@ -355,7 +355,7 @@ static void dmatest_callback(void *arg)
355{ 355{
356 struct dmatest_done *done = arg; 356 struct dmatest_done *done = arg;
357 struct dmatest_thread *thread = 357 struct dmatest_thread *thread =
358 container_of(arg, struct dmatest_thread, done_wait); 358 container_of(done, struct dmatest_thread, test_done);
359 if (!thread->done) { 359 if (!thread->done) {
360 done->done = true; 360 done->done = true;
361 wake_up_all(done->wait); 361 wake_up_all(done->wait);