linux-arm-kernel.lists.infradead.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] soc: sunxi: Fix compilation of sunxi_mbus
@ 2020-11-24 10:35 Maxime Ripard
  2020-11-24 11:01 ` Arnd Bergmann
  0 siblings, 1 reply; 2+ messages in thread
From: Maxime Ripard @ 2020-11-24 10:35 UTC (permalink / raw)
  To: soc; +Cc: Chen-Yu Tsai, Maxime Ripard, linux-arm-kernel

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>
---
 drivers/soc/sunxi/sunxi_mbus.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

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>
-- 
2.28.0


_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel

^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH] soc: sunxi: Fix compilation of sunxi_mbus
  2020-11-24 10:35 [PATCH] soc: sunxi: Fix compilation of sunxi_mbus Maxime Ripard
@ 2020-11-24 11:01 ` Arnd Bergmann
  0 siblings, 0 replies; 2+ messages in thread
From: Arnd Bergmann @ 2020-11-24 11:01 UTC (permalink / raw)
  To: Maxime Ripard, soc; +Cc: Chen-Yu Tsai, linux-arm-kernel, Arnd Bergmann

From: Arnd Bergmann <arnd@arndb.de>

On Tue, 24 Nov 2020 11:35:46 +0100, Maxime Ripard wrote:
> 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.

Applied to arm/drivers, thanks for the update!

[1/1] soc: sunxi: Fix compilation of sunxi_mbus
      commit: e24f7fac3b973ad24b0fd96f6de47695c90f6528

       Arnd

_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2020-11-24 11:02 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-11-24 10:35 [PATCH] soc: sunxi: Fix compilation of sunxi_mbus Maxime Ripard
2020-11-24 11:01 ` Arnd Bergmann

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).