summaryrefslogtreecommitdiff
path: root/drivers/dma-buf/dma-heap.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/dma-buf/dma-heap.c')
-rw-r--r--drivers/dma-buf/dma-heap.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/dma-buf/dma-heap.c b/drivers/dma-buf/dma-heap.c
index 59d158873f4c..c9e41e8a9e27 100644
--- a/drivers/dma-buf/dma-heap.c
+++ b/drivers/dma-buf/dma-heap.c
@@ -301,7 +301,7 @@ err0:
return err_ret;
}
-static char *dma_heap_devnode(struct device *dev, umode_t *mode)
+static char *dma_heap_devnode(const struct device *dev, umode_t *mode)
{
return kasprintf(GFP_KERNEL, "dma_heap/%s", dev_name(dev));
}