* [PATCH 3/3] core-arm: add a member about dma_map_ops in dev_archdata struct
@ 2017-08-11 10:00 yinbo.zhu
2017-08-11 16:38 ` [linux-devel] " Leo Li
0 siblings, 1 reply; 2+ messages in thread
From: yinbo.zhu @ 2017-08-11 10:00 UTC (permalink / raw)
To: linux-devel, yinbo.zhu, Rob Herring, Mark Rutland, Russell King,
Felipe Balbi
Cc: open list, open list, moderated list, open list,
Laurent Pinchart, Stefano Stabellini, Catalin Marinas,
Bart Van Assche, Doug Ledford, Greg Kroah-Hartman
From: "yinbo.zhu" <yinbo.zhu@nxp.com>
Signed-off-by: yinbo.zhu <yinbo.zhu@nxp.com>
---
arch/arm/include/asm/device.h | 1 +
1 file changed, 1 insertion(+)
diff --git a/arch/arm/include/asm/device.h b/arch/arm/include/asm/device.h
index 220ba20..c93d3df 100644
--- a/arch/arm/include/asm/device.h
+++ b/arch/arm/include/asm/device.h
@@ -7,6 +7,7 @@
#define ASMARM_DEVICE_H
struct dev_archdata {
+const struct dma_map_ops *dma_ops;
#ifdef CONFIG_DMABOUNCE
struct dmabounce_device_info *dmabounce;
#endif
--
2.1.0.27.g96db324
^ permalink raw reply related [flat|nested] 2+ messages in thread
* RE: [linux-devel] [PATCH 3/3] core-arm: add a member about dma_map_ops in dev_archdata struct
2017-08-11 10:00 [PATCH 3/3] core-arm: add a member about dma_map_ops in dev_archdata struct yinbo.zhu
@ 2017-08-11 16:38 ` Leo Li
0 siblings, 0 replies; 2+ messages in thread
From: Leo Li @ 2017-08-11 16:38 UTC (permalink / raw)
To: Yinbo Zhu, Yinbo Zhu, Rob Herring, Mark Rutland, Russell King,
Felipe Balbi
Cc: open list, Laurent Pinchart, Catalin Marinas, open list,
open list, Doug Ledford, Stefano Stabellini, Greg Kroah-Hartman,
Bart Van Assche, moderated list
> -----Original Message-----
> From: linux-devel-bounces@gforge.freescale.net [mailto:linux-devel-
> bounces@gforge.freescale.net] On Behalf Of yinbo.zhu@nxp.com
> Sent: Friday, August 11, 2017 5:01 AM
> To: linux-devel@gforge.freescale.net; Yinbo Zhu <yinbo.zhu@nxp.com>; Rob
> Herring <robh+dt@kernel.org>; Mark Rutland <mark.rutland@arm.com>;
> Russell King <linux@armlinux.org.uk>; Felipe Balbi <balbi@kernel.org>
> Cc: open list <devicetree@vger.kernel.org>; Laurent Pinchart
> <laurent.pinchart+renesas@ideasonboard.com>; Catalin Marinas
> <catalin.marinas@arm.com>; open list <linux-usb@vger.kernel.org>; open list
> <linux-kernel@vger.kernel.org>; Doug Ledford <dledford@redhat.com>;
> Stefano Stabellini <sstabellini@kernel.org>; Greg Kroah-Hartman
> <gregkh@linuxfoundation.org>; Bart Van Assche
> <bart.vanassche@sandisk.com>; moderated list <linux-arm-
> kernel@lists.infradead.org>
> Subject: [linux-devel] [PATCH 3/3] core-arm: add a member about
> dma_map_ops in dev_archdata struct
>
> From: "yinbo.zhu" <yinbo.zhu@nxp.com>
The dma_ops was just moved from struct dev_archdata to struct device with commit 5657933dbb6e25feaf5d8df8c88f96cdade693a3. Don't duplicate the dma_ops in both places if you don't have a good reason.
>
> Signed-off-by: yinbo.zhu <yinbo.zhu@nxp.com>
> ---
> arch/arm/include/asm/device.h | 1 +
> 1 file changed, 1 insertion(+)
>
> diff --git a/arch/arm/include/asm/device.h b/arch/arm/include/asm/device.h
> index 220ba20..c93d3df 100644
> --- a/arch/arm/include/asm/device.h
> +++ b/arch/arm/include/asm/device.h
> @@ -7,6 +7,7 @@
> #define ASMARM_DEVICE_H
>
> struct dev_archdata {
> +const struct dma_map_ops *dma_ops;
> #ifdef CONFIG_DMABOUNCE
> struct dmabounce_device_info *dmabounce; #endif
> --
> 2.1.0.27.g96db324
>
> _______________________________________________
> linux-devel mailing list
> linux-devel@gforge.freescale.net
> https://emea01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fgforge.
> freescale.net%2Fmailman%2Flistinfo%2Flinux-
> devel&data=01%7C01%7Cleoyang.li%40nxp.com%7Cc83542988dac448bd8b908
> d4e0a230af%7C686ea1d3bc2b4c6fa92cd99c5c301635%7C0&sdata=1pbSjxG781
> yjcCF%2BuXbRCkV6ytbfTTgQkHNWmm0e9nk%3D&reserved=0
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2017-08-11 16:38 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-08-11 10:00 [PATCH 3/3] core-arm: add a member about dma_map_ops in dev_archdata struct yinbo.zhu
2017-08-11 16:38 ` [linux-devel] " Leo Li
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).