summaryrefslogtreecommitdiff
path: root/drivers/soc/sunxi
diff options
context:
space:
mode:
authorMaxime Ripard <maxime@cerno.tech>2020-11-24 11:35:46 +0100
committerArnd Bergmann <arnd@arndb.de>2020-11-24 11:58:33 +0100
commite24f7fac3b973ad24b0fd96f6de47695c90f6528 (patch)
tree9db07e393637b7af3cc8ee6048f7905b4a39e48b /drivers/soc/sunxi
parent4ce4be5d28deeeb6aa3f724c3fcb3c1627e40f10 (diff)
soc: sunxi: Fix compilation of sunxi_mbus
dma_direct_set_offset has been moved from dma-mapping.h to dma-map-ops.h, but our driver hasn't been updated resulting in a build breakage. Let's change the header to fix the build. Fixes: 16fee29b0735 ("dma-mapping: remove the dma_direct_set_offset export") Signed-off-by: Maxime Ripard <maxime@cerno.tech> Link: https://lore.kernel.org/r/20201124103546.839711-1-maxime@cerno.tech' Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Diffstat (limited to 'drivers/soc/sunxi')
-rw-r--r--drivers/soc/sunxi/sunxi_mbus.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/soc/sunxi/sunxi_mbus.c b/drivers/soc/sunxi/sunxi_mbus.c
index a9d077f73c3a..e9925c8487d7 100644
--- a/drivers/soc/sunxi/sunxi_mbus.c
+++ b/drivers/soc/sunxi/sunxi_mbus.c
@@ -2,7 +2,7 @@
/* Copyright (C) 2020 Maxime Ripard <maxime@cerno.tech> */
#include <linux/device.h>
-#include <linux/dma-mapping.h>
+#include <linux/dma-map-ops.h>
#include <linux/init.h>
#include <linux/notifier.h>
#include <linux/of.h>