]> git.karo-electronics.de Git - karo-tx-linux.git/commit
ARM: OMAP2+: Remove mostly unused hwmod linkspace
authorTony Lindgren <tony@atomide.com>
Tue, 14 Mar 2017 20:13:19 +0000 (13:13 -0700)
committerTony Lindgren <tony@atomide.com>
Tue, 14 Mar 2017 20:13:19 +0000 (13:13 -0700)
commita1e312355d41cd63b9f47081ade9168eedc4574d
tree06f8df1cdc60714b958e4edea2b1a1f90388e8aa
parentc1ae3cfa0e89fa1a7ecc4c99031f5e9ae99d9201
ARM: OMAP2+: Remove mostly unused hwmod linkspace

We want to be able to dynamically allocate struct omap_hwmod_ocp_if and
struct omap_hwmod at device driver probe time based on .dts data.

Current setup with the linkspace using memblock_virt_alloc() makes
this tricky, so let's get rid of struct linkspace and directly set up
struct omap_hwmod_ocp_if as the master and slave lists.

As we are currently not using the master_ports either, let's remove it
too. And let's add the struct omap_hwmod_ocp_if node directly to the
slave_ports list.

Signed-off-by: Tony Lindgren <tony@atomide.com>
arch/arm/mach-omap2/omap_hwmod.c
arch/arm/mach-omap2/omap_hwmod.h