From 17bddd30b3d77618dca7b9a146f6c14ce4f17924 Mon Sep 17 00:00:00 2001 From: Rajendra Nayak Date: Mon, 10 Nov 2008 16:57:57 +0530 Subject: [PATCH] OMAP3 SRF: Add CORE rate table param in OMAP-PM This patch modifies the omap_pm_if_init API in OMAP-PM layer to take the L3 interconnect/CORE OPP table as an additional parameter. Signed-off-by: Rajendra Nayak --- arch/arm/plat-omap/omap-pm-srf.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/arch/arm/plat-omap/omap-pm-srf.c b/arch/arm/plat-omap/omap-pm-srf.c index 8df56c1f6d9..fb9f743c7b0 100644 --- a/arch/arm/plat-omap/omap-pm-srf.c +++ b/arch/arm/plat-omap/omap-pm-srf.c @@ -29,6 +29,7 @@ static struct omap_opp *dsp_opps; static struct omap_opp *mpu_opps; +static struct omap_opp *l3_opps; #define LAT_RES_POSTAMBLE "_latency" #define MAX_LATENCY_RES_NAME 30 @@ -346,10 +347,12 @@ int __init omap_pm_if_early_init(void) /* Must be called after clock framework is initialized */ int __init omap_pm_if_init(struct omap_opp *mpu_opp_table, - struct omap_opp *dsp_opp_table) + struct omap_opp *dsp_opp_table, + struct omap_opp *l3_opp_table) { mpu_opps = mpu_opp_table; dsp_opps = dsp_opp_table; + l3_opps = l3_opp_table; resource_init(resources_omap); return 0; } -- 2.11.4.GIT