ARM: OMAP4/AM33xx: add cm_init / cm_exit calls for AM33xx and OMAP4+
This is needed for expanding the generic CM driver API to include AM33xx and OMAP4 also. Signed-off-by: Tero Kristo <t-kristo@ti.com> Acked-by: Paul Walmsley <paul@pwsan.com> Tested-by: Nishanth Menon <nm@ti.com> Signed-off-by: Tony Lindgren <tony@atomide.com>
This commit is contained in:

committed by
Tony Lindgren

orang tua
9907f85eb2
melakukan
7632a02f80
@@ -505,3 +505,16 @@ struct clkdm_ops am43xx_clkdm_operations = {
|
||||
.clkdm_clk_enable = omap4_clkdm_clk_enable,
|
||||
.clkdm_clk_disable = omap4_clkdm_clk_disable,
|
||||
};
|
||||
|
||||
static struct cm_ll_data omap4xxx_cm_ll_data;
|
||||
|
||||
int __init omap4_cm_init(void)
|
||||
{
|
||||
return cm_register(&omap4xxx_cm_ll_data);
|
||||
}
|
||||
|
||||
static void __exit omap4_cm_exit(void)
|
||||
{
|
||||
cm_unregister(&omap4xxx_cm_ll_data);
|
||||
}
|
||||
__exitcall(omap4_cm_exit);
|
||||
|
Reference in New Issue
Block a user