diff options
author | Tony Lindgren <tony@atomide.com> | 2018-02-22 23:00:25 +0100 |
---|---|---|
committer | Tony Lindgren <tony@atomide.com> | 2018-02-26 23:16:11 +0100 |
commit | ef70b0bdeaf893dd6d9c3a8d05d9b65d395506c0 (patch) | |
tree | effa518b4c6aa995e55a9dfe04c7ad56f73e6702 /arch/arm/mach-omap2/board-n8x0.c | |
parent | bus: ti-sysc: Remove unnecessary debugging statements (diff) | |
download | linux-ef70b0bdeaf893dd6d9c3a8d05d9b65d395506c0.tar.xz linux-ef70b0bdeaf893dd6d9c3a8d05d9b65d395506c0.zip |
bus: ti-sysc: Add support for platform data callbacks
We want to pass the device tree configuration for interconnect target
modules from ti-sysc driver to the existing platform hwmod code.
This allows us to first validate the dts data against the existing
platform data before we start dropping the platform data in favor of
device tree data.
To do this, let's add platform data callbacks for PM runtime functions
to call for the interconnect target modules if platform data is
available.
Note that as ti-sysc driver can rebind, omap_auxdata_lookup and related
functions can no longer be __init.
Signed-off-by: Tony Lindgren <tony@atomide.com>
Diffstat (limited to 'arch/arm/mach-omap2/board-n8x0.c')
-rw-r--r-- | arch/arm/mach-omap2/board-n8x0.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/arm/mach-omap2/board-n8x0.c b/arch/arm/mach-omap2/board-n8x0.c index 20f25539d572..75bc18646df6 100644 --- a/arch/arm/mach-omap2/board-n8x0.c +++ b/arch/arm/mach-omap2/board-n8x0.c @@ -566,11 +566,11 @@ static int n8x0_menelaus_late_init(struct device *dev) } #endif -struct menelaus_platform_data n8x0_menelaus_platform_data __initdata = { +struct menelaus_platform_data n8x0_menelaus_platform_data = { .late_init = n8x0_menelaus_late_init, }; -struct aic3x_pdata n810_aic33_data __initdata = { +struct aic3x_pdata n810_aic33_data = { .gpio_reset = 118, }; |