soc: sunxi: Fix compilation of sunxi_mbus
authorMaxime Ripard <maxime@cerno.tech>
Tue, 24 Nov 2020 10:35:46 +0000 (11:35 +0100)
committerArnd Bergmann <arnd@arndb.de>
Tue, 24 Nov 2020 10:58:33 +0000 (11:58 +0100)
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>
drivers/soc/sunxi/sunxi_mbus.c

index a9d077f73c3af0822a15f9662b075e071cdcb683..e9925c8487d741f29c6f25cd9ee004619a335859 100644 (file)
@@ -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>