Hi Nishant,
You can make the opp init more generic by changing omap_init_opp_table to be:
int __init omap_init_opp_table(struct omap_opp_def *opp_list)
instead of below. And then..
+int __init omap_init_opp_table(void)
+{
+ struct omap_opp_def *opp_def;
+ u32 opp_def_size;
+
Add OPP data for OMAP34xx and OMAP36xx and initialization functions
to populate OPP tables based on current SoC.
introduce an OMAP generic opp initialization routine which OMAP3
and OMAP4+ SoCs can use to register their OPP definitions.
Signed-off-by: Nishanth Menon n...@ti.com
Signed-off-by: