* [PATCH] soc: sunxi: Fix compilation of sunxi_mbus
@ 2020-11-24 10:35 ` Maxime Ripard
0 siblings, 0 replies; 5+ 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
^ permalink raw reply related [flat|nested] 5+ messages in thread
* [PATCH] soc: sunxi: Fix compilation of sunxi_mbus
@ 2020-11-24 10:35 ` Maxime Ripard
0 siblings, 0 replies; 5+ 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] 5+ messages in thread
* Re: [PATCH] soc: sunxi: Fix compilation of sunxi_mbus
@ 2020-11-24 11:01 ` Arnd Bergmann
0 siblings, 0 replies; 5+ messages in thread
From: Arnd Bergmann @ 2020-11-24 11:01 UTC (permalink / raw)
To: Maxime Ripard, soc; +Cc: Arnd Bergmann, linux-arm-kernel, Chen-Yu Tsai
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
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [PATCH] soc: sunxi: Fix compilation of sunxi_mbus
@ 2020-11-24 11:01 ` Arnd Bergmann
0 siblings, 0 replies; 5+ 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] 5+ messages in thread
* Re: [PATCH] soc: sunxi: Fix compilation of sunxi_mbus
2020-11-24 10:35 ` Maxime Ripard
(?)
(?)
@ 2020-11-24 11:10 ` patchwork-bot+linux-soc
-1 siblings, 0 replies; 5+ messages in thread
From: patchwork-bot+linux-soc @ 2020-11-24 11:10 UTC (permalink / raw)
To: Maxime Ripard; +Cc: soc
Hello:
This patch was applied to soc/soc.git (refs/heads/for-next):
On Tue, 24 Nov 2020 11:35:46 +0100 you 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.
>
> Fixes: 16fee29b0735 ("dma-mapping: remove the dma_direct_set_offset export")
> Signed-off-by: Maxime Ripard <maxime@cerno.tech>
>
> [...]
Here is the summary with links:
- soc: sunxi: Fix compilation of sunxi_mbus
https://git.kernel.org/soc/soc/c/cd817f001fb5
You are awesome, thank you!
--
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2020-11-24 11:10 UTC | newest]
Thread overview: 5+ 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 10:35 ` Maxime Ripard
2020-11-24 11:01 ` Arnd Bergmann
2020-11-24 11:01 ` Arnd Bergmann
2020-11-24 11:10 ` patchwork-bot+linux-soc
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.