ARM: OMAP2+: Fix am4 only build after genpd changes
authorTony Lindgren <tony@atomide.com>
Fri, 27 Nov 2020 06:13:25 +0000 (08:13 +0200)
committerTony Lindgren <tony@atomide.com>
Fri, 27 Nov 2020 06:13:25 +0000 (08:13 +0200)
commitb62168e516dab1b7cb7bb90976755b08d273cc3a
treeee9b2c8055d1f96a443500d3d15959e5a7cb8287
parentbaa2a611762f9ad033392d15efa3b5aeb5c69d50
ARM: OMAP2+: Fix am4 only build after genpd changes

With commit df6c2ec872a6 ("ARM: OMAP2+: Drop legacy remaining legacy
platform data for am4") we moved am4 to boot with simple-pm-bus using
genpd and devicetree based data. But I forgot to test am4 only build
that still has few references to the old platform data left, and cause
undefined reference errors with omap_hwmod_set_postsetup_state and
omap_hwmod_for_each. We can just drop the related calls for am4 now,
and also drop the references to unused struct wkup_m3_platform_data.

Reported-by: Nishanth Menon <nm@ti.com>
Signed-off-by: Tony Lindgren <tony@atomide.com>
arch/arm/mach-omap2/io.c
arch/arm/mach-omap2/pdata-quirks.c