diff options
-rw-r--r-- | drivers/dma/dmaengine.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/dma/dmaengine.c b/drivers/dma/dmaengine.c index 97b329e76798..99c22b42bada 100644 --- a/drivers/dma/dmaengine.c +++ b/drivers/dma/dmaengine.c | |||
@@ -378,7 +378,7 @@ int dma_async_device_register(struct dma_device *device) | |||
378 | 378 | ||
379 | chan->chan_id = chancnt++; | 379 | chan->chan_id = chancnt++; |
380 | chan->dev.class = &dma_devclass; | 380 | chan->dev.class = &dma_devclass; |
381 | chan->dev.parent = NULL; | 381 | chan->dev.parent = device->dev; |
382 | snprintf(chan->dev.bus_id, BUS_ID_SIZE, "dma%dchan%d", | 382 | snprintf(chan->dev.bus_id, BUS_ID_SIZE, "dma%dchan%d", |
383 | device->dev_id, chan->chan_id); | 383 | device->dev_id, chan->chan_id); |
384 | 384 | ||