diff options
author | Tony Lindgren <tony@atomide.com> | 2017-10-10 14:23:35 -0700 |
---|---|---|
committer | Tony Lindgren <tony@atomide.com> | 2017-10-10 14:23:35 -0700 |
commit | d85a2d61432aed6a4c2e5f90109a37562f9a8092 (patch) | |
tree | ff5e96ee1dc5d26438c0eeb24035fe045d1f9911 /arch/arm/mach-omap2/omap_device.h | |
parent | 6c72b35506728b2669835cfa8c245ac3f1c15659 (diff) | |
download | linux-stable-d85a2d61432aed6a4c2e5f90109a37562f9a8092.tar.gz linux-stable-d85a2d61432aed6a4c2e5f90109a37562f9a8092.tar.bz2 linux-stable-d85a2d61432aed6a4c2e5f90109a37562f9a8092.zip |
ARM: OMAP2+: Populate legacy resources for dma and smartreflex
We can populate the legacy resources needed by dma and smartreflex
from device tree in omap_device_build().
There should be no need to do this for other devices, and eventually
these two remaining users will be gone too. The legacy dma will be
dropped when the remaining users have been converted to use the
dmaengine driver, and smartreflex can now become just a regular
device driver with a few pdata callbacks.
This is needed in order to remove remaining device dma, irq and io
resources from the interconnect code.
And while at it, let's simplify things by removing otherwise
unused omap_device_build_ss() as we will never call it for more
than one hwmod.
Cc: "BenoƮt Cousson" <bcousson@baylibre.com>
Cc: Lokesh Vutla <lokeshvutla@ti.com>
Cc: Nishanth Menon <nm@ti.com>
Cc: Paul Walmsley <paul@pwsan.com>
Cc: Tero Kristo <t-kristo@ti.com>
Signed-off-by: Tony Lindgren <tony@atomide.com>
Diffstat (limited to 'arch/arm/mach-omap2/omap_device.h')
-rw-r--r-- | arch/arm/mach-omap2/omap_device.h | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/arch/arm/mach-omap2/omap_device.h b/arch/arm/mach-omap2/omap_device.h index 78c02b355179..786b9c00fdb9 100644 --- a/arch/arm/mach-omap2/omap_device.h +++ b/arch/arm/mach-omap2/omap_device.h @@ -75,10 +75,6 @@ struct platform_device *omap_device_build(const char *pdev_name, int pdev_id, struct omap_hwmod *oh, void *pdata, int pdata_len); -struct platform_device *omap_device_build_ss(const char *pdev_name, int pdev_id, - struct omap_hwmod **oh, int oh_cnt, - void *pdata, int pdata_len); - struct omap_device *omap_device_alloc(struct platform_device *pdev, struct omap_hwmod **ohs, int oh_cnt); void omap_device_delete(struct omap_device *od); |